Coflyr · Backend model field catalog
EntityAuditState
Audit.EntityAuditStates.
25 former mapped fields Deleted 6 field groups Generated 2026-10-06
Model class coflyr.models.common.EntityAuditState
Former source Features/Shared/Audit/Models/EntityAuditState.cs (removed)
Table Audit.EntityAuditStates
Review Reviewed decision 2026-10-06: Delete EntityAuditState model and table. Current and historical audit data are read directly from AuditLogEntries.
This page preserves the former fields for review. The EntityAuditState model and table are removed; existing rows were migrated into AuditLogEntries before the table was dropped. The temporary CurrentAuditStates view and AuditCurrentSnapshot projection were subsequently removed. Every former scalar field appears once. Types and nullability reflect the pre-removal EF snapshot. Navigation properties and unmapped DTO fields are outside this page. Purpose text is inferred from names and should be checked against the feature workflow.
← All model classes · AMOS Workpackage example
Field groups
Identity and naming 1
Relationships and references 4
Status and controls 4
Dates and timing 2
Audit and revision 8
Other fields 6
Identity and naming 1 fields
# Field EF type Storage Business purpose
1 IdGuidRequired Stable identifier for this record.
Relationships and references 4 fields
# Field EF type Storage Business purpose
1 DepartmentIdGuid?Nullable Selects the related department record.
2 EntityIdGuidRequired Selects the related entity record.
3 SentToDepartmentIdGuid?Nullable Selects the related sent to department record.
4 SentToUserIdGuid?Nullable Selects the related sent to user record.
Status and controls 4 fields
# Field EF type Storage Business purpose
1 BusinessStatusintRequired Tracks the business status of this entity audit state.
2 DocumentStatusstringNullable Tracks the document status of this entity audit state.
3 PreApprovedboolRequired Indicates whether pre approved applies to this entity audit state.
4 StatusInformationstringNullable Records status information for this entity audit state.
Dates and timing 2 fields
# Field EF type Storage Business purpose
1 EffectiveDateDateTime?Nullable Records the effective date for this entity audit state.
2 ReceivingDateDateTime?Nullable Records the receiving date for this entity audit state.
Audit and revision 8 fields
# Field EF type Storage Business purpose
1 AuditActivationDateDB: ActivationDate DateTime?Nullable Records the audit activation date for this entity audit state.
2 AuditBystringNullable Records audit by for this entity audit state.
3 AuditDateDateTime?Nullable Records the audit date for this entity audit state.
4 AuditRemarksstringNullable Records audit remarks for this entity audit state.
5 AuditStatusintRequired Tracks the audit status of this entity audit state.
6 AuditUserIdGuid?Nullable Selects the related audit user record.
7 CreatedByApnint?Nullable Records created by apn for this entity audit state.
8 LatestAuditLogEntryIdGuid?Nullable Selects the related latest audit log entry record.
Other fields 6 fields
# Field EF type Storage Business purpose
1 EntityTypestringRequired Records entity type for this entity audit state.
2 LastChangedApnint?Nullable Records last changed apn for this entity audit state.
3 LastChangedFormCodestringNullable Records last changed form code for this entity audit state.
4 ReleaseStateintRequired Records release state for this entity audit state.
5 ValidFromDateTime?Nullable Records valid from for this entity audit state.
6 ValidToDateTime?Nullable Records valid to for this entity audit state.