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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

@ApiModel("项目管理 - Code规则 Request VO")
@Data
public class EngagementCodeRuleReq implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "法律实体编码")
    @Size(max = 16, message = "法律实体编码不能超过300个")
    private String legalEntityCode;

    @ApiModelProperty(value = "业务单元编码")
    @Size(max = 16, message = "业务单元编码不能超过300个")
    private String buCode;

    @ApiModelProperty(value = "运营单位编码")
    @Size(max = 16, message = "运营单位编码不能超过300个")
    private String ouCode;

    @ApiModelProperty(value = "管理单位编码")
    @Size(max = 16, message = "管理单位编码不能超过300个")
    private String muCode;

    @ApiModelProperty(value = "子管理单位编码")
    @Size(max = 16, message = "子管理单位编码不能超过300个")
    private String smuCode;

    @ApiModelProperty(value = "业务线编码")
    @Size(max = 16, message = "业务线编码不能超过300个")
    private String slCode;


    @ApiModelProperty(value = "子业务线编码")
    @Size(max = 16, message = "子业务线编码不能超过300个")
    private String sslCode;

}
