Coflyr · Backend model field catalog
GeneralCondition
public.GeneralConditions.
35 mapped fields6 field groupsGenerated 2026-10-06
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.
Identity and naming
5 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | CmDocumentNumber | string | Required | Records cm document number for this general condition. |
| 3 | CmPartNumber | string | Required | Records cm part number for this general condition. |
| 4 | Code | string | Required | Records code for this general condition. |
| 5 | Title | string | Required | Records title for this general condition. |
Relationships and references
2 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | AppliesToReference | string | Nullable | Records applies to reference for this general condition. |
| 2 | BusinessPartnerId | Guid? | Nullable | Selects the related business partner record. |
Status and controls
7 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | AogSurcharge | bool | Required | Indicates whether aog surcharge applies to this general condition. |
| 2 | AppliesToLabour | bool | Required | Indicates whether applies to labour applies to this general condition. |
| 3 | AppliesToMaterial | bool | Required | Indicates whether applies to material applies to this general condition. |
| 4 | AppliesToService | bool | Required | Indicates whether applies to service applies to this general condition. |
| 5 | AppliesToTool | bool | Required | Indicates whether applies to tool applies to this general condition. |
| 6 | AutoAssign | bool | Required | Indicates whether auto assign applies to this general condition. |
| 7 | IsActive | bool | Required | Indicates whether active applies to this general condition. |
Amounts and measurements
5 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | AfterHours | decimal | Required | Records after hours for this general condition. |
| 2 | Amount | decimal | Required | Stores the amount used by this general condition. |
| 3 | FreeHours | decimal | Required | Records free hours for this general condition. |
| 4 | NewAmountAfterUnitsDays | decimal? | Nullable | Records new amount after units days for this general condition. |
| 5 | Rate | decimal | Required | Records rate for this general condition. |
Audit and revision
2 fields| # | Field | 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
14 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | AogUnit | string | Required | Records aog unit for this general condition. |
| 2 | Body | string | Required | Records body for this general condition. |
| 3 | Category | string | Required | Records category for this general condition. |
| 4 | CmReturnCondition | string | Required | Records cm return condition for this general condition. |
| 5 | ConditionType | string | Required | Records condition type for this general condition. |
| 6 | CurrencyCode | string | Required | Records currency code for this general condition. |
| 7 | EffectiveFrom | DateTime | Required | Records effective from for this general condition. |
| 8 | EffectiveTo | DateTime? | Nullable | Records effective to for this general condition. |
| 9 | Maximum | decimal? | Nullable | Records maximum for this general condition. |
| 10 | Minimum | decimal? | Nullable | Records minimum for this general condition. |
| 11 | ResourceType | string | Required | Records resource type for this general condition. |
| 12 | Scope | int | Required | Records scope for this general condition. |
| 13 | Unit | string | Required | Records unit for this general condition. |
| 14 | Version | string | Required | Records version for this general condition. |