Employee Service Responsibilities
Summary
Employee Service owns employee master data and workforce organization behavior inside the Employee bounded context. It does not own authentication, payroll calculation, attendance processing, leave decisions, recruitment, or document storage.
Audience
- Backend developers and QA engineers
- Solution architects, security engineers, and product owners
Reference Content
Confirmed responsibilities
- Employee aggregate lifecycle and profile state.
- Employee code, name, contact, employment context, status, organization references, notes, document references, and timeline.
- Department and designation aggregates.
- Reporting-manager and department reassignment behavior.
- Application commands, queries, validation, mapping, and search.
- Tenant-aware data access and request attribution.
- Audit recording for mutations.
- Translating queued domain changes into shared integration-contract records in the outbox.
- Compatibility and direct/foundation presentation surfaces during cutover; detailed API behavior is outside this epic.
Explicit boundaries
| Concern | Owning boundary or status |
|---|---|
| Authentication, roles, permissions, sessions | Identity |
| Tenant control-plane data and company profile | Platform |
| Employee departments, designations, and reporting references | Employee |
| Attendance records and policy | Attendance |
| Leave requests and balances | Leave |
| Payroll calculations and payroll read models | Payroll |
| Candidate, offer, and onboarding workflows | Recruitment |
| Document binary storage and processing | Document |
| Cross-domain approval orchestration | Workflow where adopted |
Application boundary
Callers interact through presentation handlers. Application handlers operate on ports and domain objects. Infrastructure details do not belong in domain or application contracts. Shared cross-service types come from the contracts project; shared operational primitives come from the shared kernel.
Source References
microservices/src/employee-service/docs/employee-domain.mdmicroservices/src/employee-service/Domain/Employees/Employee.csmicroservices/src/employee-service/Domain/Organization/Organization.csdocumentation-inventory/hr-suit-backend-source-inventory.md
Related Articles
See Also
Keywords
- Service ownership
- Employee master data
- Bounded-context boundary
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly