package com.dy.pipIrrRemote.records.controllerAlarmState;
|
|
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/22 20:01
|
* @LastEditTime :2024/7/22 20:01
|
* @Description
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@ToString(callSuper = true)
|
@NoArgsConstructor
|
@AllArgsConstructor
|
@Builder
|
@Schema(name = "控制器报警与状态查询条件")
|
public class ControllerAlarmStateQueryVo extends QueryConditionVo {
|
|
@Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
private String intakeName;
|
|
@Schema(description = "阀门状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)//(0打开、1关闭)
|
private Byte valveState;
|
|
@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 Date startDt;
|
|
@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 Date endDt;
|
|
@Schema(description = "报警状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)//(0正常、1报警)
|
private Byte alarmState;
|
}
|