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 DateTime LastLoggedIn { get; set; } [MaxLength(15)] public string Alias { get; set; } }