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

import com.yuchen.saas.manage.system.api.entity.Dept;
import com.yuchen.saas.manage.system.api.entity.NestRoleBusiness;
import com.yuchen.saas.manage.system.api.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RoleScopeVO", description = "RoleScopeVO")
public class RoleScopeVO extends Role {


    @ApiModelProperty(value = "功能ID集合")
    private List<FeatureExpireVO> features;

    @ApiModelProperty(value = "业务id集合")
    private List<NestRoleBusiness> businessScopes;



    @ApiModelProperty(value = "组织id集合")
    private List<Dept> depts;
}
