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; }
}
