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

import cn.ey.biz.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel("项目管理 - Code规则 Request VO")
@Data
public class EngagementCodeRuleEntityVO extends PageParam {

    public interface Deleted {
    }

    public interface QueryById {
    }

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

    @ApiModelProperty(value = "主键id")
    @NotNull(message = "Code规则id不能为空", groups = {EngagementCodeRuleEntityVO.QueryById.class})
    private Long id;

    @ApiModelProperty(value = "法律实体编码")
    private List<String> legalEntityCode;

    @ApiModelProperty(value = "业务单元编码")
    private List<String> buCode;

    @ApiModelProperty(value = "运营单位编码")
    private List<String> ouCode;

    @ApiModelProperty(value = "管理单位编码")
    private List<String> muCode;

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

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

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

}
