galaeth-draft/Galaeth.Core/Entities/EmailDomainBlacklist.cs

24 lines
556 B
C#
Raw Normal View History

2024-11-17 10:31:01 +01:00
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; }
}