galaeth-draft/Galaeth.Core/Entities/EmailDomainBlacklist.cs
2024-11-17 09:31:01 +00:00

24 lines
556 B
C#

using Galaeth.Core.Attributes.EntityAnnotation;
namespace Galaeth.Core.Entities;
/// <summary>
/// Entity representing a blacklisted email address domain.
/// </summary>
[TableMapping("emailDomainBlacklist")]
public class EmailDomainBlacklist
{
/// <summary>
/// The blacklisted domain.
/// </summary>
[PrimaryKey]
[ColumnMapping("domain")]
public string Domain { get; set; }
/// <summary>
/// When the record was created.
/// </summary>
[ColumnMapping("createdAt")]
public DateTime CreatedAt { get; set; }
}