Coflyr · Backend model field catalog

Department

HumanResources.Departments.

17 mapped fields5 field groupsGenerated 2026-10-06
Model class
coflyr.models.manpower.Department
Source
Features/Manpower/Department/Models/Department.cs
Table
HumanResources.Departments
Review
Not marked

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

Identity and naming

4 fields
#FieldEF typeStorageBusiness purpose
1IdGuidRequiredStable identifier for this record.
2CodestringRequiredRecords code for this department.
3ExternalNamestringNullableRecords external name for this department.
4NamestringRequiredRecords name for this department.

Relationships and references

2 fields
#FieldEF typeStorageBusiness purpose
1LegacyCompanyBusinessPartnerId
DB: CompanyBusinessPartnerId
Guid?NullableSelects the related legacy company business partner record.
2LegacyParentDepartmentId
DB: ParentDepartmentId
Guid?NullableSelects the related legacy parent department record.

Status and controls

2 fields
#FieldEF typeStorageBusiness purpose
1IncludeParentDepartmentsByDefaultboolRequiredIndicates whether include parent departments by default applies to this department.
2IsDistributionEnabledboolRequiredIndicates whether distribution enabled applies to this department.

Audit and revision

2 fields
#FieldEF typeStorageBusiness purpose
1SystemAuditIdGuid?NullableLinks to system audit history when this model stores the reference.
2UpdateIdGuid?NullableLinks to the preceding revision or update record.

Other fields

7 fields
#FieldEF typeStorageBusiness purpose
1DepartmentTypeintRequiredRecords department type for this department.
2EmailAddressstringNullableRecords email address for this department.
3FacilityCodestringNullableRecords facility code for this department.
4HomebaseCodestringNullableRecords homebase code for this department.
5OperationalAssignmentint?NullableRecords operational assignment for this department.
6UnitTypeintRequiredRecords unit type for this department.
7WorkGroupCodestringNullableRecords work group code for this department.