Refactoring, database structure changed
This commit is contained in:
23
WatchIt.Database/Model/Accounts/AccountRefreshToken.cs
Normal file
23
WatchIt.Database/Model/Accounts/AccountRefreshToken.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user