feat(backend): add short IDs to models
This commit is contained in:
		
							parent
							
								
									6ea8861da2
								
							
						
					
					
						commit
						df93f28273
					
				
					 9 changed files with 1101 additions and 3 deletions
				
			
		|  | @ -3,6 +3,7 @@ namespace Foxnouns.Backend.Database.Models; | |||
| public class Member : BaseModel | ||||
| { | ||||
|     public required string Name { get; set; } | ||||
|     public string Sid { get; set; } = string.Empty; | ||||
|     public string? DisplayName { get; set; } | ||||
|     public string? Bio { get; set; } | ||||
|     public string? Avatar { get; set; } | ||||
|  |  | |||
|  | @ -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; } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue