Coflyr · Backend model field catalog
DefectReferenceEntry
Administration.DefectReferenceValues.
10 mapped fields6 field groupsGenerated 2026-10-06Reviewed
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
- Consolidated ten defect reference tables into Administration.DefectReferenceValues with a ReferenceType discriminator.
- ReferenceType uses the DefectReferenceListType enum in C# and preserves the ten existing text codes in the database.
- Priority and IsNoGo are shared fields; SeverityLevel applies to DefectSeverity. DefectActionType retains RequiresAction, SequenceNumber, and string DomainQualifiers.
- GET api/DefectReferenceCatalog returns all ten types with field metadata; GET api/DefectReferenceCatalog/{referenceType} returns one selected type's fields.
Create form preview
Select a reference type to see which fields a create form would show. This preview does not save records.
DefectCategory uses the common and standard reference fields.
Identity and naming
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | Code | string | Required | Records code for this defect reference entry. |
| 3 | Name | string | Required | Records name for this defect reference entry. |
Relationships and references
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | ReferenceType | DefectReferenceListType enumEF: string | Required | Identifies the owning list. Allowed values: DefectCategory, DefectSeverity, DefectReportingSource, DefectDiscoveryContext, DefectDiscoveryStage, DefectDamageType, DefectMeasurementType, DefectLocationType, DefectActionType, DefectSourceRelation. Codes are unique within each type; references are checked against the expected type. For example, a severity value cannot be selected as a damage type. |
Status and controls
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | IsNoGo | bool | Required | Indicates whether no go applies to this defect reference entry. |
Descriptions and details
1 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Description | string | Nullable | Records description for this defect reference entry. |
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 | Priority | int | Required | Records priority for this defect reference entry. |
| 2 | SeverityLevel | int? | Nullable | Records severity level for this defect reference entry. |