package cn.ey.biz.module.system.controller.admin.permission.vo.dataRole;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@Valid
public class DataRoleLevelConfigVO {

    @Size(max = 10, message = "一层区域最多选择十个")
    private List<@Size(max = 10, message = "二层区域最多选择十个") List<String>> area;

    @Size(max = 20, message = "MR最多20个字符")
    private String mr;

    @Size(max = 20, message = "MU最多20个字符")
    private String mu;

    @Size(max = 20, message = "OU最多20个字符")
    private String ou;

    @Size(max = 10, message = "一层SL最多选择十个")
    private List<@Size(max = 10, message = "二层SL最多选择十个") List<String>> serviceLine;

    @Size(max = 5, message = "是否异常最多5个字符")
    private String isHide;

}
