using Modules.User.WebApi.Models.Access;

namespace Modules.User.WebApi.Models;

public class UserInfoShort
{
    public Guid Id { get; init; }
    public required string NickName { get; init; }
    public string? FirstName { get; init; }
    public string? Patronymic { get; init; }
    public string? LastName { get; init; }
    public DateOnly? BirthDate { get; init; }

    public Guid? LanguageId { get; init; }
    public string? Email { get; init; }
    public bool HasAvatar { get; init; }
    public int AvatarVersion { get; set; }
    
    public UserOnlineStatus OnlineStatus { get; init; } = UserOnlineStatus.Unknown;
    // public DateTimeOffset? LastOnline { get; init; }

    public BanStatus BanStatus { get; init; } = null!;

    public IEnumerable<int> RoleIds { get; init; } = [];
}