package cn.iocoder.yudao.module.mes.controller.admin.em.alert.vo;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDate;
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
|
|
@Schema(description = "管理后台 - MES 能耗预警分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class MesEmAlertPageReqVO extends PageParam {
|
|
@Schema(description = "计量点名称", example = "变压器车间总电表")
|
private String meterName;
|
|
@Schema(description = "能源类型", example = "1")
|
private Integer energyType;
|
|
@Schema(description = "预警类型", example = "1")
|
private Integer alertType;
|
|
@Schema(description = "预警级别", example = "2")
|
private Integer alertLevel;
|
|
@Schema(description = "处理状态", example = "0")
|
private Integer status;
|
|
@Schema(description = "预警日期")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
private LocalDate[] alertDate;
|
|
}
|