Coflyr · Backend model field catalog

WorkStepPhase

Maintenance.WorkStepPhases.

9 mapped fields5 field groupsGenerated 2026-10-10
Model class
coflyr.models.workpackages.WorkStepPhase
Source
Features/WorkPackages/WorkStep/Models/WorkStepPhase.cs
Table
Maintenance.WorkStepPhases
Review
Dropped · marked 2026-10-08 · Standalone table marked Dropped in the review; merge all fields and relationships into unified WorkStep. Backend mapping and physical database remain unchanged until complete review.

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.

Reviewed changes

  • Latest WorkStep review decision: consolidate all mapped WorkStep models/field sets into the single WorkStep model and table, including phase and reference details. Mark the other model/table definitions Dropped. Preserve RecordKind, ownership, separate historical/child rows and role-specific validation. HTML only; backend/database implementation remains pending complete review.

← All model classes · AMOS Workpackage example

Dropped · Merge every field into WorkStep. This page retains the source inventory for review; backend/model retirement and physical migration are pending complete review.

Identity and naming

3 fields
#FieldEF typeStorageBusiness purposeReview
1IdGuidRequiredMerge into the shared WorkStep.Id. Merged
To WorkStep.Id · pending
2CodeString
Requested: MaintenancePhase?
RequiredDrop the separate MaintenancePhase field from the unified WorkStep proposal because the selected task will supply the maintenance phase. During later implementation, map historical phase codes and assignments to task-owned definitions and preserve aircraft/component applicability, revision context and related-phase/counterpart behavior. Task-owned phase selection and remaining phase relationships require implementation review; backend/database adoption remains pending complete review.Dropped
Removal pending complete review
3NameStringRequiredMerge into the shared WorkStep.ActionTitle. Merge the phase display name into ActionTitle on its Phase-role WorkStep row. Preserve existing phase names; backend/database adoption pending complete review.Merged
To WorkStep.ActionTitle · pending

Relationships and references

1 fields
#FieldEF typeStorageBusiness purposeReview
1RelatedPhaseIdGuid?NullableDrop RelatedPhaseId from the unified WorkStep proposal following the decision that the task handles phases. The current phase relationship can automatically generate a related counterpart workstep during planning. Preserve existing phase links, generated counterpart identities and historical relationships; review task-owned related-work planning and adapt automatic generation before retiring the relationship. This decision does not drop RestorationCounterpartStepId or approve a replacement field. Backend/database adoption remains pending complete review.Dropped
Removal pending complete review

Status and controls

1 fields
#FieldEF typeStorageBusiness purposeReview
1IsActiveBooleanRequiredMark IsActive Dropped from the unified WorkStep proposal. Backend/database adoption remains deferred until complete project review.Dropped
Removal pending complete review

Audit and revision

2 fields
#FieldEF typeStorageBusiness purposeReview
1SystemAuditIdGuid?NullableMerge into the shared WorkStep.SystemAuditId. Merged
To WorkStep.SystemAuditId · pending
2UpdateIdGuid?NullableMerge into the shared WorkStep.UpdateId. Merged
To WorkStep.UpdateId · pending

Other fields

2 fields
#FieldEF typeStorageBusiness purposeReview
1ColorCodeStringNullableDrop ColorCode from the unified WorkStep proposal. Define phase display colours directly in project code, keyed by the task-owned phase, rather than storing a configurable colour field. Backend/database removal and colour implementation remain deferred.Dropped
Removal pending complete review
2WorkTypeWorkStepPhaseWorkTypeRequiredDrop WorkType from the unified WorkStep proposal, following the decision that tasks handle phases. Preserve existing Global, Aircraft and Component phase applicability and review how the task-owned design carries these constraints. Adapt phase planning and counterpart applicability checks before retiring storage; this decision does not remove other aircraft/component context fields. Backend/database adoption remains pending complete review.Dropped
Removal pending complete review