CurrentUserBriefDto.cs 486 Bytes
namespace FoodLabeling.Application.Contracts.Dtos.AuthSession;

/// <summary>
/// 当前登录用户简要信息(不含敏感字段)
/// </summary>
public class CurrentUserBriefDto
{
    /// <summary>
    /// 当前登录用户 Id(非租户 Id)。
    /// </summary>
    public Guid Id { get; set; }

    public string UserName { get; set; } = string.Empty;

    public string? Nick { get; set; }

    public string? Email { get; set; }

    public string? Icon { get; set; }
}