package com.njcn.gather.monitor.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.njcn.gather.pojo.constant.DetectionValidMessage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author caozehui
 * @data 2024-12-09
 */
@Data
public class PqMonitorExcel {

    @Excel(name = "谐波系统监测点ID", width = 20, orderNum = "1")
//    @NotBlank(message = DetectionValidMessage.MONITOR_ID_NOT_BLANK)
    private String harmSysId;

    @Excel(name = "母线名称*", width = 20, orderNum = "2")
    @NotBlank(message = DetectionValidMessage.BELONG_LINE_NOT_BLANK)
    private String busbar;

    @Excel(name = "监测点名称*", width = 20, orderNum = "3")
    @NotBlank(message = DetectionValidMessage.MONITOR_NAME_NOT_BLANK)
    private String name;

    @Excel(name = "线路号(监测点序号)*", width = 20, orderNum = "4")
    @NotNull(message = DetectionValidMessage.MONITOR_NUM_NOT_NULL)
    private Integer num;

    @Excel(name = "PT一次变比*", width = 20, orderNum = "5")
    @NotBlank(message = DetectionValidMessage.PT_NOT_BLANK)
    private String pt1;

    @Excel(name = "PT二次变比*", width = 20, orderNum = "6")
    @NotBlank(message = DetectionValidMessage.PT_NOT_BLANK)
    private String pt2;

    @Excel(name = "CT一次变比*", width = 20, orderNum = "7")
    @NotBlank(message = DetectionValidMessage.CT_NOT_BLANK)
    private String ct1;

    @Excel(name = "CT二次变比*", width = 20, orderNum = "8")
    @NotBlank(message = DetectionValidMessage.CT_NOT_BLANK)
    private String ct2;

    @Excel(name = "接线方式*", width = 20, orderNum = "9")
    @NotBlank(message = DetectionValidMessage.CONNECTION_NOT_BLANK)
    private String connection;

    @Excel(name = "统计间隔*", width = 20, orderNum = "10")
    @NotNull(message = DetectionValidMessage.STAT_INTERVAL_NOT_NULL)
    private Integer statInterval;
}
