package com.ho.flow.vo.req.AlarmConfig;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fancl
 * @desc: 更改等级请求实体
 * @date 2023/2/21
 */
@Data
public class AlarmUpdateLevelReq {

    @ApiModelProperty(value = "作用范围 1 集团级别 2电站级别 默认可以为电站级别")
    @NotNull(message = "作用范围不能为空")
    Integer scope;

    @ApiModelProperty(value = "电站id")
    private Integer stationId;

    @ApiModelProperty(value = "设备类型")
    @NotNull(message = "设备类型不能为空")
    private String deviceType;

    @ApiModelProperty(value = "告警配置id")
    @NotNull(message = "告警配置id不能为空")
    Integer id;

    @ApiModelProperty(value = "告警等级")
    @NotNull(message = "告警等级不能为空")
    Integer alarmLevel;
}
