Class ContactMailSuppressionEntity
An address that opted out of contact mail, of one category or of all of it.
public record ContactMailSuppressionEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<ContactMailSuppressionEntity>
- Inheritance
-
PersistableEntityBaseEntityBase<ObjectId>EntityBaseContactMailSuppressionEntity
- Implements
-
IEquatable<PersistableEntityBase>IEntity<ObjectId>IEquatable<EntityBase>
- Inherited Members
-
EntityBase.ToString()EntityBase.GetHashCode()EntityBase.Equals(EntityBase<ObjectId>)EntityBase.Equals(EntityBase)EntityBase.<Clone>$()EntityBase.EqualityContractEntityBase<ObjectId>.Equals(PersistableEntityBase)EntityBase<ObjectId>.IdPersistableEntityBase.NeedsCleaning()PersistableEntityBase.BeginInit()PersistableEntityBase.EndInit()PersistableEntityBase.CatchAll
Properties
Address
The address, trimmed and in lower case.
public required string Address { get; init; }
Property Value
Category
The category's key, or * for every contact mail.
public required string Category { get; init; }
Property Value
Source
How it was asked for, stored by name.
[BsonRepresentation(BsonType.String)]
public required ContactMailSuppressionSource Source { get; init; }
Property Value
SuppressedAt
When it was asked for, in UTC.
public required DateTime SuppressedAt { get; init; }