uid colors

This commit is contained in:
azyges
2025-09-26 08:26:24 +09:00
parent c4b6e85f60
commit 323d3f39e2
4 changed files with 1252 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace LightlessSyncShared.Models;
@@ -14,6 +14,14 @@ public class User
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; }