package com.njcn.csdevice.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 类的介绍： 测试项详情表
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2024/4/1 20:10
 */
@Data
public class RecordVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("名称")
    private String itemName;

    @ApiModelProperty("监测点id")
    private String lineId;

    @ApiModelProperty("数据起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("数据结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("持续时间")
    private String lastTime;

    @ApiModelProperty("测试位置")
    private String location;

    @ApiModelProperty("统计间隔")
    private Integer statisticalInterval;

    @ApiModelProperty("PT变比")
    private Integer pt;

    @ApiModelProperty("CT变比")
    private Integer ct;

    @ApiModelProperty("PT变比")
    private Integer pt1;

    @ApiModelProperty("CT变比")
    private Integer ct1;

    @ApiModelProperty("电压等级")
    private String voltageLevel;

    @ApiModelProperty("基准短路容量")
    private Float capacitySscb;

    @ApiModelProperty("最小短路容量")
    private Float capacitySscmin;

    @ApiModelProperty("供电设备容量")
    private Float capacitySt;

    @ApiModelProperty("用户协议容量")
    private Float capacitySi;

    @ApiModelProperty("电压接线方式")
    private String volConType;

    @ApiModelProperty("基础数据集合ID")
    private List<String> list;

    @Data
    public static class RecordItemVo{

        @ApiModelProperty("方案名称")
        private String itemName;

        @ApiModelProperty("描述")
        private String describe;

        @ApiModelProperty("测试项")
        private List<RecordVo> records;
    }
}
