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 ChargingStatusResponseVO {

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

    @Schema(description = "成功状态(0-成功,其他-失败)",
            example = "0",
            required = true)
    @JsonProperty("SuccStat")
    private Integer SuccStat;

    @Schema(description = "失败原因(0-无,其他根据具体业务定义)",
            example = "0",
            required = true)
    @JsonProperty("FailReason")
    private Integer FailReason;
}
