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

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

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

/**
 * @author nfq
 * @date 2022/03/18 15:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class StrategyUrlQO extends BaseStrategyQO {

    private Integer id;

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

    @NotNull(message = "网址类型不能为空")
    private String strategyType;

    @NotEmpty(message = "网址不能为空")
    private List<Integer> urlIdList;
}
