package com.njcn.csharmonic.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xy
 */
@Data
public class HalfMonthReportVO implements Serializable {

    @ApiModelProperty("工程名称")
    private String engineeringName;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("设备名称")
    private String devName;

    @ApiModelProperty("设备型号")
    private String devType;

    @ApiModelProperty("MAC地址")
    private String mac;

    @ApiModelProperty("监测点名称")
    private String lineName;

    @ApiModelProperty("运行状态")
    private String operationalStatus;

    @ApiModelProperty("监测点通讯状态")
    private String communicationStatus;

    @ApiModelProperty("投运时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationalTime;

    @ApiModelProperty("最新数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime latestTime;

    @ApiModelProperty("流程状态")
    private Integer process;

    @ApiModelProperty("数据完整性")
    private Double integrity;

    @ApiModelProperty("终端在线率")
    private Double onlineRate;
}
