Class CardReplacementRequestEntity
- Namespace
- SEBT.Portal.Infrastructure.Data.Entities
- Assembly
- SEBT.Portal.Infrastructure.dll
Records a card replacement request for cooldown enforcement. Household and case identifiers are stored as HMAC-SHA256 hashes (via IIdentifierHasher) because only lookup-by-hash is needed — original values are never retrieved.
public class CardReplacementRequestEntity
- Inheritance
-
objectCardReplacementRequestEntity
Properties
CaseIdHash
HMAC-SHA256 hash of the Summer EBT case ID. 64-character hex string produced by IIdentifierHasher.
public string CaseIdHash { get; set; }
Property Value
- string
HouseholdIdentifierHash
HMAC-SHA256 hash of the household identifier value. 64-character hex string produced by IIdentifierHasher.
public string HouseholdIdentifierHash { get; set; }
Property Value
- string
Id
Primary key (UUIDv7, application-generated).
public Guid Id { get; set; }
Property Value
- Guid
RequestedAt
UTC timestamp when the card replacement was requested.
public DateTime RequestedAt { get; set; }
Property Value
- DateTime
RequestedByUser
Navigation property to the requesting user.
public UserEntity? RequestedByUser { get; set; }
Property Value
RequestedByUserId
Foreign key to the user who made the request. Audit trail only.
public Guid RequestedByUserId { get; set; }
Property Value
- Guid