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

import com.skr.mdm.bean.dto.CallWhitelistInfoDTO;
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 java.util.List;

/**
 * @author nfq
 * @date 2021/1/5 10:57
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class CallWhitelistQO extends BaseStrategyQO {

    private Integer id;
    @ApiModelProperty(value = "策略名")
    @NotBlank(message = "策略名称不能为空")
    private String strategyName;
    @ApiModelProperty(value = "手机号")
    private List<CallWhitelistInfoDTO> callWhitelistInfoDTOList;

}
