package com.njcn.cssystem.pojo.param;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xy
 */
@Data
public class CsAlarmSetParam implements Serializable {

    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("方案名称")
    @NotBlank(message = "方案名称不能为空")
    private String name;

    @ApiModelProperty("在线率阈值")
    @NotNull(message = "在线率阈值不能为空")
    private Integer onlineRateLimit;

    @ApiModelProperty("完整性阈值")
    @NotNull(message = "完整性阈值不能为空")
    private Integer integrityLimit;

    @ApiModelProperty("是否启用 (0:未启用 1:启用)")
    private Integer active;

}
