You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
950 B
33 lines
950 B
using System;
|
|
using System.Collections.Generic;
|
|
using Znyc.Cloudcar.Admin.Security.Entitys;
|
|
|
|
namespace Znyc.Cloudcar.Admin.Security.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 包括用户及用户可访问的机构/资源/模块/角色
|
|
/// </summary>
|
|
[Serializable]
|
|
public class UserWithAccessedCtrls
|
|
{
|
|
/// <summary>
|
|
/// 用户可以访问到的模块(包括所属角色与自己的所有模块)
|
|
/// </summary>
|
|
public List<MenuOutputDto> Modules { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户可以访问的资源
|
|
/// </summary>
|
|
public List<RoleDataEntity> RoleDatas { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户所属机构
|
|
/// </summary>
|
|
public List<OrganizeEntity> Organizes { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户所属角色
|
|
/// </summary>
|
|
public List<RoleEntityEntity> Roles { get; set; }
|
|
}
|
|
}
|