角色列表查询增加展示具体的枚举值

IRC_NewDev
hang 2023-07-03 14:00:06 +08:00
parent 630fda3c45
commit 4a70ba0134
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ namespace IRaCIS.Core.Application.Contracts
/// <summary> UserTypeRoleView 列表视图模型 </summary>
public class UserTypeRoleView : UserTypeMenuAddOrEdit
{
public UserTypeEnum UserTypeEnum { get; set; }
public List<UserTypeGroupInfo> UserTypeGroupList { get; set; } = new List<UserTypeGroupInfo>();
public new List<Guid> UserTypeGroupIdList => UserTypeGroupList.Select(t=>t.DictionaryId).ToList();