| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.voRm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author :WuZeYu | 
|---|
|  |  |  | * @Date :2024/7/24  10:27 | 
|---|
|  |  |  | * @LastEditTime :2024/7/24  10:27 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Schema(title = "取水口日取水量漏损量视图对象") | 
|---|
|  |  |  | public class VoIntakeAmountDay implements BaseEntity { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private static final long serialVersionUID = 202407241028001L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String intakeId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String intakeName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "日取水量(不包括漏损水量)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Double amount; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "统计日期(yyyy-mm-dd)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | //    private java.sql.Date dt; | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd") | 
|---|
|  |  |  | private Date dt; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "最后计水量上报数据接收时间(yyyy-mm-dd hh:mm:ss)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|---|
|  |  |  | private java.util.Date dtLast; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "最后计水量的控制器地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String rtuAddrLast; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "最后计水量的控制器ID(外键)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String controllerIdLast; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "最后计水量时控制器累计水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Double totalAmountLast; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "最后计水量时控制器时钟(yyyy-mm-dd HH:MM:SS)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|---|
|  |  |  | private java.util.Date rtuDtLast; | 
|---|
|  |  |  | } | 
|---|