| New file | 
|  |  |  | 
|---|
|  |  |  | 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; | 
|---|
|  |  |  | } | 
|---|