- Added SendEngineDbContext for managing database interactions. - Created SendEngineDbContextFactory for design-time database context creation. - Established dependency injection for the infrastructure layer. - Defined entity configurations for Tenant, MailingList, Subscriber, ListMember, EventInbox, Campaign, SendJob, SendBatch, DeliverySummary, AuthClient, AuthClientKey, and WebhookNonce. - Generated initial database migration snapshot. - Implemented installer program for database migration commands.
13 lines
424 B
C#
13 lines
424 B
C#
namespace SendEngine.Domain.Entities;
|
|
|
|
public sealed class AuthClient
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid? TenantId { get; set; }
|
|
public string ClientId { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public string[] Scopes { get; set; } = Array.Empty<string>();
|
|
public string Status { get; set; } = "active";
|
|
public DateTimeOffset CreatedAt { get; set; }
|
|
}
|