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.sql.Date; 
 | 
  
 | 
/** 
 | 
 * @author :WuZeYu 
 | 
 * @Date :2024/7/23  16:21 
 | 
 * @LastEditTime :2024/7/23  16:21 
 | 
 * @Description 
 | 
 */ 
 | 
@Data 
 | 
@Schema(title = "农户日用水量统计视图对象") 
 | 
public class VoClientAmountDay implements BaseEntity { 
 | 
  
 | 
    private static final long serialVersionUID = 202407231622001L; 
 | 
  
 | 
    @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    private String clientId; 
 | 
  
 | 
    @Schema(description = "日取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    private Double amount; 
 | 
  
 | 
    @Schema(description = "日花费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    private Double money; 
 | 
  
 | 
    @Schema(description = "统计日期(yyyy-mm-dd)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @DateTimeFormat(pattern = "yyyy-MM-dd") 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    private java.util.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 openDtLast; 
 | 
  
 | 
    @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 closeDtLast; 
 | 
  
 | 
    @Schema(description = "统计日最后一次开阀取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    private Double thisAmountLast; 
 | 
  
 | 
    @Schema(description = "统计日最后一次开阀花费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    private Double thisMoneyLast; 
 | 
  
 | 
    @Schema(description = "统计日最后一次开阀取水时长(分钟)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    private Long thisTimeLast; 
 | 
  
 | 
    @Schema(description = "统计日最后一次关阀上报控制器时钟", 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; 
 | 
  
 | 
    @Schema(description = "农户姓名", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    private String clientName; 
 | 
  
 | 
} 
 |