chore: 同步当前开发内容
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace TakeoutSaaS.Application.Identity.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// 登录用户档案。
|
||||
/// </summary>
|
||||
public sealed class CurrentUserProfile
|
||||
{
|
||||
public Guid UserId { get; init; }
|
||||
public string Account { get; init; } = string.Empty;
|
||||
public string DisplayName { get; init; } = string.Empty;
|
||||
public Guid TenantId { get; init; }
|
||||
public Guid? MerchantId { get; init; }
|
||||
public string[] Roles { get; init; } = Array.Empty<string>();
|
||||
public string[] Permissions { get; init; } = Array.Empty<string>();
|
||||
public string? Avatar { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user