| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.pojoRm; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-08-23 15:17 | 
 |  |  |  * @LastEditTime 2024-08-23 15:17 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import jakarta.validation.constraints.NotNull; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 灌溉配置表 | 
 |  |  |  */ | 
 |  |  | @TableName(value = "rm_irrigate_profile", autoResultMap = true) | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | public class RmIrrigateProfile implements BaseEntity { | 
 |  |  |     public static final long serialVersionUID = 202408230823001L; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 主键 | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing = ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     private Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 默认值 | 
 |  |  |      */ | 
 |  |  |     @NotNull(message = "配置默认值不能为空") | 
 |  |  |     private Integer defaultValue; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 计量单位;1-时(h),2-分(min),3-立方米(cbm) | 
 |  |  |      */ | 
 |  |  |     private Byte unit; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 排序 | 
 |  |  |      */ | 
 |  |  |     private Integer sort; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 类型;1-用时,2-用水量 | 
 |  |  |      */ | 
 |  |  |     private Byte type; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备注信息 | 
 |  |  |      */ | 
 |  |  |     private String remarks; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 是否删除标识 | 
 |  |  |      */ | 
 |  |  |     private Long deleted; | 
 |  |  |  | 
 |  |  | } |