Class UserOptInEntity
- Namespace
- SEBT.Portal.Infrastructure.Data.Entities
- Assembly
- SEBT.Portal.Infrastructure.dll
Entity model for tracking user opt-ins for storing email and/or date of birth.
public class UserOptInEntity
- Inheritance
-
objectUserOptInEntity
Properties
CreatedAt
When the opt-in record was created.
public DateTime CreatedAt { get; set; }
Property Value
- DateTime
DobOptIn
Whether the user has opted in to storing their date of birth.
public bool DobOptIn { get; set; }
Property Value
- bool
The email address of the user.
public string Email { get; set; }
Property Value
- string
EmailOptIn
Whether the user has opted in to storing their email address.
public bool EmailOptIn { get; set; }
Property Value
- bool
Id
Primary key identifier. UUIDv7, assigned by the repository on insert.
public Guid Id { get; set; }
Property Value
- Guid
UpdatedAt
When the opt-in record was last updated.
public DateTime UpdatedAt { get; set; }
Property Value
- DateTime