Coflyr · Backend model field catalog
Hazard
SafetyManagement.Hazards.
17 mapped fieldsUnder development5 field groupsGenerated 2026-10-06
Every mapped scalar field appears once. Types and nullability come from the current EF model 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.
Identity and naming
3 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | HazardNumber | string | Required | Records hazard number for this hazard. |
| 3 | Title | string | Required | Records title for this hazard. |
Relationships and references
3 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | OwnerDepartmentId | Guid? | Nullable | Selects the related owner department record. |
| 2 | OwnerStaffMemberId | Guid? | Nullable | Selects the related owner staff member record. |
| 3 | SafetyScopeId | Guid | Required | Selects the related safety scope record. |
Status and controls
1 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | LegalHold | bool | Required | Indicates whether legal hold applies to this hazard. |
Audit and revision
2 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | SystemAuditId | Guid? | Nullable | Links to system audit history when this model stores the reference. |
| 2 | UpdateId | Guid? | Nullable | Links to the preceding revision or update record. |
Other fields
8 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | HazardCondition | string | Required | Records hazard condition for this hazard. |
| 2 | HazardState | int | Required | Records hazard state for this hazard. |
| 3 | IdentifiedAt | DateTimeOffset? | Nullable | Records the identified at for this hazard. |
| 4 | NextReviewAt | DateTimeOffset? | Nullable | Records the next review at for this hazard. |
| 5 | OperationalContext | string | Required | Records operational context for this hazard. |
| 6 | RetainUntil | DateTimeOffset? | Nullable | Records retain until for this hazard. |
| 7 | RetentionCategory | string | Nullable | Records retention category for this hazard. |
| 8 | RowVersionDB: xmin | uint | Required | Records row version for this hazard. |