Coflyr · Backend model field catalog
ProductionHold
Production.ProductionHolds.
13 mapped fields6 field groupsGenerated 2026-10-08
Every mapped scalar field appears once. Types and nullability come from current backend EF metadata; physical database migration is pending. 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
Under development · DB pending. Package-wide or task-specific hold with reason, related event, open/clear times and actors. Common production framework.
Identity and naming
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
Relationships and references
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | ExecutionId | Guid | Required | Production run owning this scope, hold, usage, quality, acceptance or performance record. |
| 2 | ExecutionTaskId | Guid? | Nullable | Run task owning this record. For holds/quality gates, null means package-wide scope; a composite foreign key prevents cross-run references. |
| 3 | RelatedEventId | Guid? | Nullable | Common event causing or tracking a production hold. |
Dates and timing
2 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | EndedAt | DateTime? | Nullable | Actual UTC hold clearance/resource usage end. Usage intervals must have a positive duration. |
| 2 | StartedAt | DateTime | Required | First actual production start time. Staff labor metrics include finalized bookings starting at or after this time. |
Descriptions and details
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | ClearanceReason | string? | Nullable | Required explanation when an open hold is cleared. |
| 2 | HoldReason | ProductionHoldReason { Material, Tool, Staff, Facility, TechnicalQuery, Quality, Customer, Other }EF: ProductionHoldReason | Required | Material, Tool, Staff, Facility, TechnicalQuery, Quality, Customer or Other. |
| 3 | Reason | string | Required | Explanation for cancellation, holding or clearing work. |
Audit and revision
2 fields| # | Field | Model / 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
2 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | ClearedBy | string? | Nullable | Actor clearing the hold. |
| 2 | RaisedBy | string | Required | Actor raising the hold. |