Added hopframe backend
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user