package cn.ey.biz.module.system.controller.engagement.task.vo;

import cn.ey.biz.common.pojo.PageParam;
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.NotNull;
import java.io.Serializable;
import java.util.List;

@ApiModel("项目管理 - 任务生成规则 Request VO")
@Data
public class EngagementTaskRuleInfoReqVO extends PageParam  {
    public interface QueryById {}
    public interface Deleted{}

    @ApiModelProperty(value = "任务生成规则id")
    @NotNull(message = "任务生成规则id不能为空",groups = {Deleted.class})
    private List<Long> ids;

    @ApiModelProperty(value = "任务生成规则id")
    @NotNull(message = "任务生成规则id不能为空",groups = {QueryById.class})
    private Long id;

    @ApiModelProperty(value = "国家编码")
    private String countryCode;

    @ApiModelProperty(value = "管理区域编码")
    private String mrCode;

    @ApiModelProperty(value = "业务线编码")
    private String slCode;

    @ApiModelProperty(value = "子业务线编码")
    private String sslCode;

    @ApiModelProperty(value = "能力单位编码")
    private String competencyCode;

    @ApiModelProperty(value = "子管理单位编码")
    private String smuCode;

    @ApiModelProperty(value = "任务类型")
    private List<Integer> taskType;
}
