Coflyr · Backend model field catalog
CounterDefinition
public.CounterRecords.
18 mapped fields4 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.
← All model classes · AMOS Workpackage example
Dropped · Merged into TimeRequirements · 2026-10-11. This source table/model is retired in the single-table TimeRequirements HTML proposal. All source fields remain visible here for review and explicit migration mapping. Counter concrete types become row roles in that proposed table. Backend and physical database unchanged; implementation and migration pending complete review.
Identity and naming
1 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | CounterName | string | Required | Records counter name for this counter definition. |
Status and controls
5 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Active | bool | Required | Indicates whether active applies to this counter definition. |
| 2 | AllowsReset | bool | Required | Indicates whether allows reset applies to this counter definition. |
| 3 | IsCounterGroup | bool | Required | Indicates whether counter group applies to this counter definition. |
| 4 | IsIndividualized | bool | Required | Indicates whether individualized applies to this counter definition. |
| 5 | Mandatory | bool | Required | Indicates whether mandatory applies to this counter definition. |
Descriptions and details
1 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | DefinitionDescription | string | Nullable | Records definition description for this counter definition. |
Other fields
11 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | CalculationExpression | string | Nullable | Records calculation expression for this counter definition. |
| 2 | CalculationOrder | int? | Nullable | Records calculation order for this counter definition. |
| 3 | CounterCode | string | Required | Records counter code for this counter definition. |
| 4 | DailyAverage | decimal? | Nullable | Records daily average for this counter definition. |
| 5 | Dimension | int | Required | Records dimension for this counter definition. |
| 6 | DisplayFormat | int | Required | Records display format for this counter definition. |
| 7 | DisplayOrder | int | Required | Records display order for this counter definition. |
| 8 | DisplayUnit | string | Required | Records display unit for this counter definition. |
| 9 | IndividualCalculationRuleJson | string | Nullable | Records individual calculation rule json for this counter definition. |
| 10 | InputMode | int | Required | Records input mode for this counter definition. |
| 11 | RuleSetJson | string | Nullable | Records rule set json for this counter definition. |