
package com.zsElectric.boot.charging.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "响应VO")
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
public class ChargeResponseVO {

    @Schema(description = "充电订单号(格式:运营商ID+唯一编号)",
            example = "123456789201805141125123456")
    @JsonProperty("StartChargeSeq")
    private String StartChargeSeq;

    @Schema(description = "操作结果(0:成功;1:失败)",
            example = "0",
            allowableValues = {"0", "1"})
    @JsonProperty("SuccStat")
    private Integer SuccStat;

    @Schema(description = "失败原因(0:无;1:接收失败)",
            example = "0")
    @JsonProperty("FailReason")
    private Integer FailReason;
}