| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.pojoPr; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-10-28 14:11 | 
 |  |  |  * @LastEditTime 2024-10-28 14:11 | 
 |  |  |  * @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 com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import jakarta.validation.constraints.NotNull; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | @TableName(value="pr_common_intakes", autoResultMap = true) | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | public class PrCommonIntakes implements BaseEntity { | 
 |  |  |     public static final long serialVersionUID = 202410281133001L; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 主键 | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     private Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 操作人ID | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @NotNull(message = "取水口编号不能为空") | 
 |  |  |     private Long operatorId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 取水口ID | 
 |  |  |      */ | 
 |  |  |     @NotNull(message = "取水口编号不能为空") | 
 |  |  |     private Long intakeId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 最后一次使用时间 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private Date lastUsedTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 使用次数 | 
 |  |  |      */ | 
 |  |  |     private Integer usageCount; | 
 |  |  |  | 
 |  |  | } |