23 lines
471 B
C#
23 lines
471 B
C#
|
|
namespace WatchIt.Database.Model.Accounts;
|
||
|
|
|
||
|
|
public class AccountRefreshToken
|
||
|
|
{
|
||
|
|
#region PROPERTIES
|
||
|
|
|
||
|
|
public Guid Token { get; set; }
|
||
|
|
public long AccountId { get; set; }
|
||
|
|
public DateTimeOffset ExpirationDate { get; set; }
|
||
|
|
public bool IsExtendable { get; set; }
|
||
|
|
public uint Version { get; set; }
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
#region NAVIGATION
|
||
|
|
|
||
|
|
// Account
|
||
|
|
public virtual Account Account { get; set; } = default!;
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
}
|