New file |
| | |
| | | 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.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-11-28 17:11 |
| | | * @LastEditTime 2024-11-28 17:11 |
| | | * @Description 轮灌组简单视图对象 |
| | | */ |
| | | |
| | | @Data |
| | | @JsonPropertyOrder({"groupId", "groupCode"}) |
| | | public class VoGroupSimple implements BaseEntity { |
| | | public static final long serialVersionUID = 202411281712001L; |
| | | |
| | | /** |
| | | * 轮灌组ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long groupId; |
| | | |
| | | /** |
| | | * 轮灌组名称 |
| | | */ |
| | | private String groupCode; |
| | | |
| | | /** |
| | | * 取水口数量 |
| | | */ |
| | | private Integer intakeCount; |
| | | |
| | | /** |
| | | * 默认灌溉时长 |
| | | */ |
| | | private Integer defaultDuration; |
| | | |
| | | /** |
| | | * 排序 |
| | | */ |
| | | private Integer sort; |
| | | } |