Coflyr · Backend model field catalog
ProductionExecution
Production.ProductionExecutions.
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. One aircraft/component production run for a WorkpackageMaster, linked to the released plan and optional demand event. Common production framework.
Identity and naming
2 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | ExecutionNumber | string | Required | Unique human-readable reference for this production run. |
Relationships and references
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | DemandEventId | Guid? | Nullable | Optional common ProjectEvent demand that this production run performs. |
| 2 | ProductionPlanId | Guid? | Nullable | Optional released Production plan for the same package and asset type; identifies the scheduling baseline. |
| 3 | WorkpackageId | Guid | Required | Main WorkpackageMaster owning the run; aircraft/component context is derived from the package. |
Status and controls
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | ExecutionStatus | ProductionExecutionStatus { Draft, Ready, Active, OnHold, Completed, Cancelled }EF: ProductionExecutionStatus | Required | Draft, Ready, Active, OnHold, Completed or Cancelled. Completion requires controlled acceptance. |
Dates and timing
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | StartedAt | DateTime? | Nullable | First actual production start time. Staff labor metrics include finalized bookings starting at or after this time. |
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
4 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | CompletedAt | DateTime? | Nullable | UTC operational acceptance time; present only when the run is Completed. |
| 2 | OpenedAt | DateTime | Required | UTC time this run was registered; new run identity is immutable. |
| 3 | OpenedBy | string | Required | Server-recorded actor opening the production run. |
| 4 | Version | int | Required | Optimistic concurrency version; controlled updates increment it once. |