Foxnouns.NET/Foxnouns.Backend/Database/Models/Member.cs

19 lines
633 B
C#
Raw Normal View History

2024-05-27 15:53:54 +02:00
namespace Foxnouns.Backend.Database.Models;
public class Member : BaseModel
{
public required string Name { get; set; }
2024-09-26 15:08:08 +02:00
public string Sid { get; set; } = string.Empty;
2024-05-27 15:53:54 +02:00
public string? DisplayName { get; set; }
public string? Bio { get; set; }
public string? Avatar { get; set; }
public string[] Links { get; set; } = [];
public bool Unlisted { get; set; }
public List<FieldEntry> Names { get; set; } = [];
public List<Pronoun> Pronouns { get; set; } = [];
public List<Field> Fields { get; set; } = [];
public Snowflake UserId { get; init; }
public User User { get; init; } = null!;
}