mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
17 lines
490 B
C#
17 lines
490 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharpbinV3.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; }
|
|
}
|
|
}
|