package com.yuchen.saas.manage.system.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

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

/**
 * 添加角色/
 */

@Data
public class AddNestRoleUserScopeGroupVO extends TenantEntity {

    @NotBlank
    @Size(max = 20)
    @ApiModelProperty(value = "角色名称")
    private String name;

    @NotNull
    @ApiModelProperty(value = "角色分组id")
    private Long roleGroupId;

    @ApiModelProperty(value = "组织成员id")
    private List<Long> orgUserIds;

    @ApiModelProperty(value = "权限组id")
    private List<Long> scopeGroupId;

    @ApiModelProperty(value = "组织id")
    private Long deptId;


}
