New file |
| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-01-02 15:56 |
| | | * @LastEditTime 2024-01-02 15:56 |
| | | * @Description |
| | | */ |
| | | |
| | | @Data |
| | | @Schema(title = "控制器视图对象") |
| | | public class VoController implements BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Schema(title = "ID") |
| | | private Long id; |
| | | |
| | | @Schema(title = "控制器编号") |
| | | private Long controllerCode; |
| | | |
| | | @Schema(title = "在线状态") |
| | | private String onlineState; |
| | | |
| | | @Schema(title = "绑定取水口") |
| | | private String intakeName; |
| | | |
| | | @Schema(title = "绑定次数") |
| | | private Integer bindNumber; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @Schema(title = "最近上报时间") |
| | | private Date reportTime; |
| | | } |