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

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author fancl
 * @desc: 批量删除告警配置
 * @date 2023/2/24
 */
@Data
public class AlarmBatchDeleteReq {

    @ApiModelProperty(value="集团id", hidden = true)
    Integer groupId;

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

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

    @NotNull(message = "sensType不能为空")
    @ApiModelProperty(value = "(1遥信、2遥测)")
    Integer sensType;

    @NotNull(message = "scope不能为空")
    @ApiModelProperty(value="1集团级别 2电站级别")
    Integer scope;

    @ApiModelProperty(value="要删除的配置id集合")
    @NotEmpty(message = "ids不能为空数组")
    List<Integer> colIds;

}
