mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 11:07:48 +01:00
19 lines
400 B
C#
19 lines
400 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace VoidCat.Model.User;
|
|
|
|
public sealed class ApiKey
|
|
{
|
|
[JsonConverter(typeof(Base58GuidConverter))]
|
|
public Guid Id { get; init; }
|
|
|
|
[JsonConverter(typeof(Base58GuidConverter))]
|
|
public Guid UserId { get; init; }
|
|
|
|
public string Token { get; init; }
|
|
|
|
public DateTime Expiry { get; init; }
|
|
|
|
public DateTime Created { get; init; }
|
|
}
|