using Butter.Types;

namespace Butter.Dtos.User;

public class UserInfoDto {
    public required Guid         Id          { get; set; }
    public required string       Username    { get; set; }
    public          string?      Email       { get; set; }
    public          DateTime     CreatedAt   { get; set; }
    public          DateTime?    UpdatedAt   { get; set; }
    public          DateTime?    LastLogin   { get; set; }
    public          DateTime?    BannedAt    { get; set; }
    public          DateTime?    DeletedAt   { get; set; }
    public          bool         IsBanned    { get; set; }
    public required EAccessLevel AccessLevel { get; set; } = EAccessLevel.User;
}
