package com.njcn.prepare.harmonic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ThsOverRunLogDto {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(name = "id", value = "主键", required = true)
    private String id;

    /**
     * 监测点ID
     */
    @ApiModelProperty(name = "lineIndex", value = "监测点ID")
    private String lineIndex;
    @ApiModelProperty(name = "lineIndexName", value = "监测点名称")
    private String lineIndexName;

    /**
     * 名称（变电站_监测点_日期_id）
     */
    @ApiModelProperty(name = "name", value = "名称", required = true)
    private String name;

    /**
     * 技术监督Guid
     */
    @ApiModelProperty(name = "supIndex", value = "技术监督Guid", required = true)
    private String supIndex;

    /**
     * 描述
     */
    @ApiModelProperty(name = "description", value = "描述")
    private String description;

    /**
     * 预/告警单
     */
    @ApiModelProperty(name = "alarmTicket", value = "预/告警单")
    private String alarmTicket;

    /**
     * 反馈单
     */
    @ApiModelProperty(name = "feedback", value = "反馈单")
    private String feedback;

    /**
     * 测试报告
     */
    @ApiModelProperty(name = "testReport", value = "测试报告")
    private String testReport;

    /**
     * 整改通知单
     */
    @ApiModelProperty(name = "reviseNotice", value = "整改通知单")
    private String reviseNotice;

    /**
     * 整改通知反馈单
     */
    @ApiModelProperty(name = "reviseFeedback", value = "整改通知反馈单")
    private String reviseFeedback;
    /**
     * 越限时间（yyyy-MM-dd）
     */
    @ApiModelProperty(name = "updateTime", value = "越限时间", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createTime", value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(name = "companyName", value = "供电公司")
    private String companyName;
}
