|  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Schema(name = "RTU远程升级所关联的测控一体阀 ") | 
 |  |  | public class UgRtuController implements BaseEntity { | 
 |  |  | 
 |  |  |     @Schema(description = "控制器地址", requiredMode = Schema.RequiredMode.REQUIRED) | 
 |  |  |     public String rtuAddr; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 升级是否结束 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "升级是否结束", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     public Byte isOver; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 升级是否结束 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "升级是否结束", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     public String isOverStr; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 升级状态 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "升级状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     public Integer ugState; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 升级状态 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "升级状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     public String ugStateStr; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 升级结束时间 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "升级结束时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS") | 
 |  |  |     public Integer overDt; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 无参数据构造方法 | 
 |  |  |      */ | 
 |  |  |     public UgRtuController(){ | 
 |  |  |         this.isOver = 0; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |