namespace Foxnouns.Backend.Database.Models; public class User : BaseModel { public required string Username { get; set; } public string? DisplayName { get; set; } public string? Bio { get; set; } public string? MemberTitle { get; set; } public string? Avatar { get; set; } public string[] Links { get; set; } = []; public bool ListHidden { get; set; } public List Names { get; set; } = []; public List Pronouns { get; set; } = []; public List Fields { get; set; } = []; public UserRole Role { get; set; } = UserRole.User; public string? Password { get; set; } // Password may be null if the user doesn't authenticate with an email address public List Members { get; } = []; public List AuthMethods { get; } = []; } public enum UserRole { User, Moderator, Admin, }