feat(backend): add short IDs to models

This commit is contained in:
sam 2024-09-26 15:08:08 +02:00
parent 6ea8861da2
commit df93f28273
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 1101 additions and 3 deletions

View file

@ -8,6 +8,7 @@ namespace Foxnouns.Backend.Database.Models;
public class User : BaseModel
{
public required string Username { get; set; }
public string Sid { get; set; } = string.Empty;
public string? DisplayName { get; set; }
public string? Bio { get; set; }
public string? MemberTitle { get; set; }
@ -28,6 +29,7 @@ public class User : BaseModel
public UserSettings Settings { get; set; } = new();
public required Instant LastActive { get; set; }
public Instant LastSidReroll { get; set; }
public bool Deleted { get; set; }
public Instant? DeletedAt { get; set; }