24 lines
556 B
C#
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; }
|
|
}
|