54 lines
877 B
C#
54 lines
877 B
C#
using LFlow.Base.Interfaces;
|
|
using LFlow.Permission.Model;
|
|
|
|
namespace LFlow.Role.Model
|
|
{
|
|
public class RoleDto : IModel
|
|
{
|
|
public string? ID
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string? RoleName
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string? RoleDesc
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string? RoleType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string? RoleStatus
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool? IsDefault
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public bool? IsEnable
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
/// <summary>
|
|
/// 权限列表
|
|
/// </summary>
|
|
public List<PermissionDto> Permissions { get; set; } = [];
|
|
}
|
|
}
|