|  |  | 
 |  |  | package com.dy.pipIrrGlobal.voIr; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2025-02-21 14:21 | 
 |  |  |  * @LastEditTime 2025-02-21 14:21 | 
 |  |  |  * @Description 灌溉次序视图对象 | 
 |  |  |  * @Description 灌溉次序视图对象,生成开阀计划使用,不传给前端 | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @JsonPropertyOrder({ "id", "vcNum", "money", "inUse", "isAlarmValue"}) | 
 |  |  | public class VoIrrigateSchedule implements BaseEntity { | 
 |  |  | @JsonPropertyOrder({ "scheduleId", "groupId", "startTime", "duration"}) | 
 |  |  | public class VoIrrigateSchedule { | 
 |  |  |     private static final long serialVersionUID = 202502211423001L; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 灌溉次序ID | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     private Long scheduleId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 轮灌组ID | 
 |  |  |      */ | 
 |  |  |     private Long groupId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 灌溉开始时间 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private Date startTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     private Integer duration; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 取水口ID,多个用逗号隔开 | 
 |  |  |      */ | 
 |  |  |     private String intakeIds; | 
 |  |  | } |