返回用户简称
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d1bf517aa7
commit
e9bafe9e38
|
@ -49,6 +49,8 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public UserTypeEnum UserType { get; set; }
|
||||
|
||||
public string UserTypeShortName { get; set; }
|
||||
|
||||
public bool IsUserRoleDisabled { get; set; }
|
||||
|
||||
[Comment("多账号信息是否已经确认")]
|
||||
|
|
|
@ -141,7 +141,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<UserBasicInfo, UserTokenInfo>()
|
||||
.ForMember(d => d.UserRoleId, c => c.MapFrom(t => t.Id));
|
||||
|
||||
CreateMap<User, UserAccountInfo>();
|
||||
CreateMap<User, UserAccountInfo>()
|
||||
.ForMember(d => d.UserTypeShortName, c => c.MapFrom(t => t.UserTypeRole.UserTypeShortName));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue