package com.jsowell.thirdparty.nanrui.domain;

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

import java.math.BigDecimal;
import java.util.List;

/**
 * 充电设备信息
 *
 * @author Lemon
 * @Date 2023/9/25 13:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class NREquipmentInfo {
    /**
     * 设备编码
     * 设备唯一编码，对同一运营商，保证唯一
     */
    @JsonProperty(value = "EquipmentID")
    private String equipmentID;

    /**
     * 设备名称
     */
    @JsonProperty(value = "EquipmentName")
    private String equipmentName;

    /**
     * 充电桩投运日期
     * yyyy-MM-dd 格式
     */
    @JsonProperty(value = "OpenForBusinessDate")
    private String openForBusinessDate;

    /**
     * 设备类型
     * 1：直流设备
     * 2：交流设备
     * 3：交直流一体设备
     */
    @JsonProperty(value = "EquipmentType")
    private Integer equipmentType;

    /**
     * 设备状态
     * 0：未知
     * 1：建设中
     * 5：关闭下线
     * 6：维护中
     * 50：正常使用
     */
    @JsonProperty(value = "EquipmentStatus")
    private Integer equipmentStatus;

    /**
     * 额定功率
     * 单位：kW
     */
    @JsonProperty(value = "Power")
    private BigDecimal power;

    /**
     * 充电设备接口列表
     */
    @JsonProperty(value = "ConnectorInfos")
    private List<NRConnectorInfo> connectorInfos;

    @JsonProperty(value = "VinFlag")
    private Integer vinFlag;

    @JsonProperty(value = "EquipmentPower")
    private BigDecimal equipmentPower;

    @JsonProperty(value = "NewNationalStandard")
    private Integer newNationalStandard;

    @JsonProperty(value = "ConstructionTime")
    private String constructionTime;

    @JsonProperty(value = "ManufacturerID")
    private String manufacturerID;


}
