package com.njcn.product.event.devcie.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Description:
 * Date: 2025/06/27  下午 3:25【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class DeviceDTO {
   private Integer devId;
   private String devName;
   private Integer stationId;
   private String stationName;
   private String gdName;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private LocalDateTime updateTime;
   private String devFlag;
   private String ip;
   private String manufacturerName;

   @JsonFormat(pattern = "yyyy-MM-dd")
   private LocalDate thisTimeCheck;

   @JsonFormat(pattern = "yyyy-MM-dd")
   private LocalDate nextTimeCheck;

   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private LocalDateTime logonTime;

   private String deptName;
   //通讯状态
   private Integer runFlag=0;
   //装置通讯状态（0：中断；1：正常）
   private Integer  status;
   private double onLineRate=0.00;
   private double integrityRate = 0.00;
}
