Added hopframe backend

This commit is contained in:
2025-11-30 19:01:38 +01:00
parent 825bd80ef0
commit 5d1fc1f347
19 changed files with 523 additions and 17 deletions

View File

@@ -5,10 +5,15 @@ namespace SpotiParty.Web.Models;
public class User {
[Key]
public Guid UserId { get; init; } = Guid.CreateVersion7();
[MaxLength(255)]
public required string SpotifyUserId { get; init; }
[MaxLength(255)]
public string DisplayName { get; init; }
public required string DisplayName { get; init; }
[MaxLength(255)]
public string RefreshToken { get; set; }
public required string RefreshToken { get; set; }
public bool IsAdmin { get; set; }
}