mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
i think this fixes it
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.Server.Data.Entities
|
||||
{
|
||||
public sealed class RefreshToken
|
||||
{
|
||||
[Key]
|
||||
public Guid UserUUID { get; set; }
|
||||
public required string Token { get; set; }
|
||||
public required string JwtId { get; set; }
|
||||
public required long CreatedAt { get; set; }
|
||||
public required long ExpiresAt { get; set; }
|
||||
public bool Used { get; set; } = false;
|
||||
public User? User { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user