Squash and merge of version-0.1 Co-authored-by: James Wampler <james@wamp.dev> Co-committed-by: James Wampler <james@wamp.dev>
14 lines
444 B
C#
Executable File
14 lines
444 B
C#
Executable File
namespace MicCheck.Api.Common.Security.ApiKeys;
|
|
|
|
public class ApiKey
|
|
{
|
|
public int Id { get; init; }
|
|
public required string Key { get; set; }
|
|
public required string Prefix { get; set; }
|
|
public required string Name { get; set; }
|
|
public int OrganizationId { get; init; }
|
|
public bool IsActive { get; set; }
|
|
public DateTimeOffset? ExpiresAt { get; set; }
|
|
public DateTimeOffset CreatedAt { get; init; }
|
|
}
|