1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.dy.pipIrrGlobal.voIr;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.dy.common.po.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author :WuZeYu
 * @Date :2024/5/21  9:04
 * @LastEditTime :2024/5/21  9:04
 * @Description
 */
@Data
@Schema(title = "灌溉单元视图对象")
public class VoUnit  implements BaseEntity {
    @Schema(description = "所属项目名称")
    public String projectName;
 
    @Schema(description = "轮灌组编码")
    private String groupCode;
 
    @Schema(description = "灌溉单元ID")
    private String unitId;
 
    @Schema(description = "灌溉面积")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" )
    private Double area;
 
    @Schema(description = "备注")
    private String remarks;
 
    @Schema(description = "所属项目Id")
    public String projectId;
 
    /**
     * 操作人名字
     */
    @Schema(description = "操作人名字")
    private String operatorName;
 
    @Schema(description = "操作人Id")
    private String operator;
 
    /**
     * 操作时间
     */
    @Schema(description = "操作时间")
    private Date operateDt;
 
    @Schema(description = "取水口Id")
    public String intakeId;
 
    @Schema(description = "取水口名称")
    public String intakeName;
}