package cn.iocoder.yudao.module.pms.controller.admin.alarm.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 告警设置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotAlarmSettingPageReqVO extends PageParam {

    @Schema(description = "分类id", example = "20512")
    private Long classifyId;

    @Schema(description = "分类名称", example = "芋艿")
    private String classifyName;

    @Schema(description = "设备id", example = "4633")
    private Long deviceId;

    @Schema(description = "设备名称", example = "芋艿")
    private String deviceName;

    @Schema(description = "上限")
    private String maxValue;

    @Schema(description = "下限")
    private String minValue;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "告警属性")
    private Integer alarmProperty;

}
