Files
azyges dceaceb941 chat
2025-10-29 07:50:41 +09:00

31 lines
706 B
C#

using System.ComponentModel.DataAnnotations;
namespace LightlessSyncShared.Models;
public class User
{
[Key]
[MaxLength(10)]
public string UID { get; set; }
[Timestamp]
public byte[] Timestamp { get; set; }
public bool IsModerator { get; set; } = false;
public bool IsAdmin { get; set; } = false;
public bool HasVanity { get; set; } = false;
[MaxLength(9)]
public string? TextColorHex { get; set; } = string.Empty;
[MaxLength(9)]
public string? TextGlowColorHex { get; set; } = string.Empty;
public bool ChatBanned { get; set; } = false;
public DateTime LastLoggedIn { get; set; }
[MaxLength(15)]
public string Alias { get; set; }
}