Coflyr · Backend model field catalog

DefectDamageReport

Maintenance.DefectDamageReports.

111 mapped fields8 field groupsGenerated 2026-10-08
Model class
coflyr.features.maintenancecontrol.defectreporting.models.DefectDamageReport
Source
Features/MaintenanceControl/DefectReporting/Models/DefectDamageReport.cs
Table
Maintenance.DefectDamageReports
Review
Under development · marked 2026-10-08 · Direct maintenance defect/damage intake now uses WorkStep as its origin, without a duplicate finding/damage source. Workflow adoption, legacy reporting backfill and database source-trigger migration remain pending.

Every mapped scalar field appears once. Types and nullability come from current backend EF metadata; migration is deferred. 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

Backend updated · DB pending. Common maintenance reporting and adoption status.

Identity and naming

4 fields
#FieldModel / EF typeStorageBusiness purpose
1IdGuidRequiredStable identifier for this record.
2ReportNumberstringRequiredRecords report number for this defect damage report.
3SourceRecordNumberstringNullableRecords source record number for this defect damage report.
4TitlestringNullableRecords title for this defect damage report.

Relationships and references

45 fields
#FieldModel / EF typeStorageBusiness purpose
1AtaIdGuid?NullableSelects the related ata record.
2CategoryIdGuid?NullableSelects the related category record.
3CategoryIdReferenceTypeDefectReferenceListType? { DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation }
EF: DefectReferenceListType?
NullableRecords category id reference type for this defect damage report.
4ComponentMaintenancePartitionIdGuid?NullableSelects the related component maintenance partition record.
5ComponentMaintenanceWorkScopeIdGuid?NullableSelects the related component maintenance work scope record.
6ComponentPartitionInspectionIdGuid?NullableSelects the related component partition inspection record.
7ComponentWorkpackageDamageIdGuid?NullableSelects the related component workpackage damage record.
8ComponentWorkpackageEventIdGuid?NullableSelects the related component workpackage event record.
9ComponentWorkpackageFindingIdGuid?NullableSelects the related component workpackage finding record.
10ComponentWorkpackageIdGuid?NullableSelects the related component workpackage record.
11ComponentWorkpackageNodeIdGuid?NullableSelects the related component workpackage node record.
12ComponentWorkpackageTaskIdGuid?NullableSelects the related component workpackage task record.
13DiscoveryContextIdGuid?NullableSelects the related discovery context record.
14DiscoveryContextIdReferenceTypeDefectReferenceListType? { DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation }
EF: DefectReferenceListType?
NullableRecords discovery context id reference type for this defect damage report.
15DiscoveryStageIdGuid?NullableSelects the related discovery stage record.
16DiscoveryStageIdReferenceTypeDefectReferenceListType? { DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation }
EF: DefectReferenceListType?
NullableRecords discovery stage id reference type for this defect damage report.
17DiscoveryStationIdGuid?NullableSelects the related discovery station record.
18ElectronicTechLogCabinItemIdGuid?NullableSelects the related electronic tech log cabin item record.
19ElectronicTechLogDefectIdGuid?NullableSelects the related electronic tech log defect record.
20ElectronicTechLogEntryIdGuid?NullableSelects the related electronic tech log entry record.
21EngineEventLogIdGuid?NullableSelects the related engine event log record.
22FlightLogIdGuid?NullableSelects the related flight log record.
23GoodsReceiptIdGuid?NullableSelects the related goods receipt record.
24OccurrenceReferenceSnapshotstringNullableRecords occurrence reference snapshot for this defect damage report.
25OriginatingWorkorderIdGuid?NullableSelects the related originating workorder record.
26ProductionFindingIdGuid?NullableSelects the related production finding record.
27QuantityUnitIdGuid?NullableSelects the related quantity unit record.
28ReceivingDetailReferenceSnapshotstringNullableRecords receiving detail reference snapshot for this defect damage report.
29ReportDescriptionTextIdGuid?NullableSelects the related report description text record.
30ReportedByStaffIdGuid?NullableSelects the related reported by staff record.
31ReportedSeverityIdGuid?NullableSelects the related reported severity record.
32ReportedSeverityIdReferenceTypeDefectReferenceListType? { DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation }
EF: DefectReferenceListType?
NullableRecords reported severity id reference type for this defect damage report.
33ReportingDepartmentIdGuid?NullableSelects the related reporting department record.
34ReportingOrganizationIdGuid?NullableSelects the related reporting organization record.
35ReportingSourceIdGuid?NullableSelects the related reporting source record.
36ReportingSourceIdReferenceTypeDefectReferenceListType? { DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation }
EF: DefectReferenceListType?
NullableRecords reporting source id reference type for this defect damage report.
37RotableMasterIdGuid?NullableSelects the related rotable master record.
38ShopFacilityIdGuid?NullableSelects the related shop facility record.
39SourceDeviceIdGuid?NullableSelects the related source device record.
40StockItemIdGuid?NullableSelects the related stock item record.
41StoreLocationReferenceIdGuid?NullableSelects the related store location reference record.
42StoreReceivingPartitionIdGuid?NullableSelects the related store receiving partition record.
43StructuralDamageRecordIdGuid?NullableSelects the related structural damage record record.
44SubmittedByUserIdGuid?NullableSelects the related submitted by user record.
45WorkStepIdGuid?NullableSelects the related work step record.

Status and controls

7 fields
#FieldModel / EF typeStorageBusiness purpose
1AccidentSnapshotbool?NullableIndicates whether accident snapshot applies to this defect damage report.
2ConfidentialboolRequiredIndicates whether confidential applies to this defect damage report.
3FlightPerformedSnapshotbool?NullableIndicates whether flight performed snapshot applies to this defect damage report.
4IncidentSnapshotbool?NullableIndicates whether incident snapshot applies to this defect damage report.
5IsMaintenanceOccurrenceboolRequiredDirect maintenance occurrence: WorkStepId is its immutable origin; no separate production/component finding/damage source is required.
6OccurrenceSnapshotbool?NullableIndicates whether occurrence snapshot applies to this defect damage report.
7OperationalImpactAvoidableSnapshotbool?NullableIndicates whether operational impact avoidable snapshot applies to this defect damage report.

Dates and timing

2 fields
#FieldModel / EF typeStorageBusiness purpose
1DiscoveryTimeAccuracyDiscoveryTimeAccuracy? { Exact, Estimated, Unknown }
EF: DiscoveryTimeAccuracy?
NullableRecords the discovery time accuracy for this defect damage report.
2DiscoveryTimeRemarksstringNullableRecords the discovery time remarks for this defect damage report.

Amounts and measurements

3 fields
#FieldModel / EF typeStorageBusiness purpose
1AffectedQuantitydecimal?NullableStores the affected quantity used by this defect damage report.
2AffectedQuantityContextCodestringNullableRecords affected quantity context code for this defect damage report.
3OperationalImpactDurationMinutesint?NullableRecords operational impact duration minutes for this defect damage report.

Descriptions and details

7 fields
#FieldModel / EF typeStorageBusiness purpose
1AffectedPositionTextstringNullableRecords affected position text for this defect damage report.
2OperationalImpactDescriptionstringNullableRecords operational impact description for this defect damage report.
3OperationalImpactReasonCodestringNullableRecords operational impact reason code for this defect damage report.
4OperationalImpactReasonGroupCodestringNullableRecords operational impact reason group code for this defect damage report.
5ReceivingRejectionReasonCodeSnapshotstringNullableRecords receiving rejection reason code snapshot for this defect damage report.
6ReportDescriptionstringNullableRecords report description for this defect damage report.
7SeverityRemarksstringNullableRecords severity remarks for this defect damage report.

Audit and revision

4 fields
#FieldModel / EF typeStorageBusiness purpose
1AuditEvidenceSummarySnapshotstringNullableRecords audit evidence summary snapshot for this defect damage report.
2AuditRegulationReferenceSnapshotstringNullableRecords audit regulation reference snapshot for this defect damage report.
3SystemAuditIdGuid?NullableLinks to system audit history when this model stores the reference.
4UpdateIdGuid?NullableLinks to the preceding revision or update record.

Other fields

39 fields
#FieldModel / EF typeStorageBusiness purpose
1AircraftTailIdAtDiscoveryGuid?NullableRecords the aircraft tail id at discovery for this defect damage report.
2AirframeRotableMasterIdAtDiscoveryGuid?NullableRecords the airframe rotable master id at discovery for this defect damage report.
3ArrivalAirportCodeSnapshotstringNullableRecords arrival airport code snapshot for this defect damage report.
4BatchNumberSnapshotstringNullableRecords batch number snapshot for this defect damage report.
5ConfigurationAircraftTypeIdSnapshotGuid?NullableRecords configuration aircraft type id snapshot for this defect damage report.
6ConfigurationAllowedOrBookedFunctionalPositionSnapshotstringNullableRecords configuration allowed or booked functional position snapshot for this defect damage report.
7ConfigurationCheckerTypeSnapshotConfigurationCheckerType? { BookedAgainstAllowed, FlyingAgainstBooked, FlyingAgainstAllowed }
EF: ConfigurationCheckerType?
NullableRecords configuration checker type snapshot for this defect damage report.
8ConfigurationCodeSnapshotstringNullableRecords configuration code snapshot for this defect damage report.
9ConfigurationFunctionalPositionCodeSnapshotstringNullableRecords configuration functional position code snapshot for this defect damage report.
10ConfigurationFunctionalPositionIdSnapshotGuid?NullableRecords configuration functional position id snapshot for this defect damage report.
11ConfigurationHigherPartNumberSnapshotstringNullableRecords configuration higher part number snapshot for this defect damage report.
12ConfigurationItemTypeSnapshotConfigurationDiscrepancyItemType? { Rotable, Software }
EF: ConfigurationDiscrepancyItemType?
NullableRecords configuration item type snapshot for this defect damage report.
13ConfigurationSoftwareIdentifierSnapshotstringNullableRecords configuration software identifier snapshot for this defect damage report.
14DepartureAirportCodeSnapshotstringNullableRecords departure airport code snapshot for this defect damage report.
15DiscoveredAtDateTime?NullableRecords the discovered at for this defect damage report.
16DomainQualifierDefectDamageDomainQualifier { PDR, CABIN, ENG, COMP, NRC, RECV, AUDIT, MCC, EXT, ENGINE, DELAY, CONFIG, MEL }
EF: DefectDamageDomainQualifier
RequiredRecords domain qualifier for this defect damage report.
17EventClassificationGroupCodestringNullableRecords event classification group code for this defect damage report.
18EventClassificationTypeCodestringNullableRecords event classification type code for this defect damage report.
19EventHeaderstringNullableRecords event header for this defect damage report.
20FlightDepartureAtDateTime?NullableRecords the flight departure at for this defect damage report.
21FlightNumberSnapshotstringNullableRecords flight number snapshot for this defect damage report.
22IncidentTypeCodeSnapshotstringNullableRecords incident type code snapshot for this defect damage report.
23MaintenanceControlEventNumberSnapshotstringNullableRecords maintenance control event number snapshot for this defect damage report.
24OperationalConsequenceCodestringNullableRecords operational consequence code for this defect damage report.
25OperationalEventInformationstringNullableRecords operational event information for this defect damage report.
26OperationalImpactCodestringNullableRecords operational impact code for this defect damage report.
27OperationalImpactTypeTechnicalDelayCategory? { None, TechnicalDelay, MaintenanceCancellation, DispatchDeviation, Diversion, AircraftChange, AirTurnBack }
EF: TechnicalDelayCategory?
NullableRecords operational impact type for this defect damage report.
28ParentRotableMasterIdAtDiscoveryGuid?NullableRecords the parent rotable master id at discovery for this defect damage report.
29PartNumberSnapshotstringNullableRecords part number snapshot for this defect damage report.
30ReceivedAtDateTimeRequiredRecords the received at for this defect damage report.
31ReceivingConditionCodeSnapshotstringNullableRecords receiving condition code snapshot for this defect damage report.
32ReportKindDefectDamageReportKind? { Defect, Damage, DefectAndDamage }
EF: DefectDamageReportKind?
NullableRecords report kind for this defect damage report.
33ReportStateDefectDamageReportState { Draft, Submitted }
EF: DefectDamageReportState
RequiredRecords report state for this defect damage report.
34ReporterNameSnapshotstringNullableRecords reporter name snapshot for this defect damage report.
35SerialNumberSnapshotstringNullableRecords serial number snapshot for this defect damage report.
36SourceReportedAtDateTime?NullableRecords the source reported at for this defect damage report.
37SubmittedAtDateTime?NullableRecords the submitted at for this defect damage report.
38TailNumberSnapshotstringNullableRecords tail number snapshot for this defect damage report.
39VersionlongRequiredRecords version for this defect damage report.