package cn.iocoder.yudao.module.iot.controller.admin.devicewarinningrecord.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 DeviceWarinningRecordPageReqVO extends PageParam {

    @Schema(description = "设备ID", example = "27939")
    private Long deviceId;

    @Schema(description = "模型ID", example = "18634")
    private Long modelId;

    @Schema(description = "规则值")
    private String rule;

    @Schema(description = "告警等级")
    private String alarmLevel;

    @Schema(description = "地址值")
    private String addressValue;

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

    @Schema(description = "点位规则Id", example = "25946")
    private Long ruleId;

}