package com.skr.mdm.bean.qo.communication;

import com.skr.mdm.bean.qo.BaseStrategyQO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * @author nfq
 * @date 2021/1/5 15:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class CallerIDWhitelistQO extends BaseStrategyQO {

    private Integer id;

    @ApiModelProperty(value = "策略名称")
    @NotBlank(message = "策略名称不能为空")
    private String strategyName;

    @ApiModelProperty(value = "来电显示白名单设备id集合")
    @NotEmpty(message = "设备不能为空")
    private List<Integer> equipmentArray;

}
