修改映射
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-24 16:49:19 +08:00
parent a1199b44a3
commit 1129a2210a
4 changed files with 23 additions and 25 deletions
@@ -53,8 +53,7 @@ namespace IRaCIS.Application.Contracts
public bool IsUserRoleDisabled { get; set; }
[Comment("多账号信息是否已经确认")]
public bool IsMutiAccountInfoConfirm { get; set; }
}
public class LoginReturnDTO
@@ -83,10 +82,12 @@ namespace IRaCIS.Application.Contracts
{
public Guid IdentityUserId { get; set; }
public Guid UserRoleId { get; set; }
public bool IsMutiAccount => AccountList?.Count > 1;
public List<UserAccountInfo> AccountList { get; set; }
public Guid Id { get; set; }
public string UserName { get; set; } = string.Empty;
public string FullName { get; set; } = string.Empty;
public int? Sex { get; set; } // 1-男 2-女