| | |
| | | package com.boying.entity; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | @Data |
| | | public class WarnLog{ |
| | | private String id; |
| | | private LocalDate warnDate; |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime warnDate; |
| | | private Integer type; //1.主机 2.数通设备 3.ups 4.空调 5.温湿度 6、漏水 7.其他 |
| | | private String name; |
| | | private String content; |