package com.jsowell.pile.domain.huawei;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * TODO
 *
 * @author Lemon
 * @Date 2024/3/14 9:43:21
 */
@Data
public class HWStationStatusInfo {
    /**
     * 充电站ID  Y
     * 对接平台自定义的唯一编码，不足长度在前方补0
     */
    @JSONField(name = "StationID")
    private String stationId;

    /**
     * 充电设备接口状态列表  Y
     * 所有充电设备接口的状态
     */
    @JSONField(name = "ConnectorStatusInfos")
    private List<ConnectorStatusInfo> connectorStatusInfos;


    @Data
    public static class ConnectorStatusInfo{

        @JSONField(name = "ConnectorID")
        private String connectorId;

        @JSONField(name = "Status")
        private String status;
    }
}
