package com.yuchen.saas.parking.charge.api.vo.charge;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@Data
@ApiModel(value = "停止充电返回信息")
public class SpcStopChargeResultVo {

        private Integer result; //1 成功   0失败

        private Integer failureType; // 1.钱包余额不足 2.枪已经在充电  3.充电桩故障 4.空闲中，未插枪 ,5 IOT发起充电失败 6.充电桩信息读取异常 7.暂无进行中订单


        @Getter
        @AllArgsConstructor
        public enum LanuchChargeResultEnum {
                failure(0,"失败"),
                success(1,"成功");
                final Integer value;
                final String desc;
        }

}
