- Created MemberCenter.Installer project with references to Infrastructure, Application, and Domain projects. - Added Program.cs with a basic console output. - Generated MemberCenterDbContextModelSnapshot for database schema representation.
13 lines
383 B
C#
13 lines
383 B
C#
namespace MemberCenter.Domain.Entities;
|
|
|
|
public sealed class UnsubscribeToken
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid SubscriptionId { get; set; }
|
|
public string TokenHash { get; set; } = string.Empty;
|
|
public DateTimeOffset ExpiresAt { get; set; }
|
|
public DateTimeOffset? ConsumedAt { get; set; }
|
|
|
|
public NewsletterSubscription? Subscription { get; set; }
|
|
}
|