package com.dy.pipIrrRemote.records.lossDay; import com.dy.common.webUtil.QueryConditionVo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.*; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @author :WuZeYu * @Date :2024/7/24 15:44 * @LastEditTime :2024/7/24 15:44 * @Description */ @Data @EqualsAndHashCode(callSuper = false) @ToString(callSuper = true) @NoArgsConstructor @AllArgsConstructor @Builder @Schema(name = "漏损记录查询条件") public class LossDayQueryVo extends QueryConditionVo { @Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) private String intakeName; @Schema(description = "取水口ID") private String intakeId; @Schema(description = "统计开始日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private Date startDt; @Schema(description = "统计结束日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private Date endDt; }