Coflyr · Backend model field catalog
Department
HumanResources.Departments.
17 mapped fields5 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
4 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | Code | string | Required | Records code for this department. |
| 3 | ExternalName | string | Nullable | Records external name for this department. |
| 4 | Name | string | Required | Records name for this department. |
Relationships and references
2 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | LegacyCompanyBusinessPartnerIdDB: CompanyBusinessPartnerId | Guid? | Nullable | Selects the related legacy company business partner record. |
| 2 | LegacyParentDepartmentIdDB: ParentDepartmentId | Guid? | Nullable | Selects the related legacy parent department record. |
Status and controls
2 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | IncludeParentDepartmentsByDefault | bool | Required | Indicates whether include parent departments by default applies to this department. |
| 2 | IsDistributionEnabled | bool | Required | Indicates whether distribution enabled applies to this department. |
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
7 fields| # | Field | EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | DepartmentType | int | Required | Records department type for this department. |
| 2 | EmailAddress | string | Nullable | Records email address for this department. |
| 3 | FacilityCode | string | Nullable | Records facility code for this department. |
| 4 | HomebaseCode | string | Nullable | Records homebase code for this department. |
| 5 | OperationalAssignment | int? | Nullable | Records operational assignment for this department. |
| 6 | UnitType | int | Required | Records unit type for this department. |
| 7 | WorkGroupCode | string | Nullable | Records work group code for this department. |