Skip to main content

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

ConcernOwning boundary or status
Authentication, roles, permissions, sessionsIdentity
Tenant control-plane data and company profilePlatform
Employee departments, designations, and reporting referencesEmployee
Attendance records and policyAttendance
Leave requests and balancesLeave
Payroll calculations and payroll read modelsPayroll
Candidate, offer, and onboarding workflowsRecruitment
Document binary storage and processingDocument
Cross-domain approval orchestrationWorkflow 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.md
  • microservices/src/employee-service/Domain/Employees/Employee.cs
  • microservices/src/employee-service/Domain/Organization/Organization.cs
  • documentation-inventory/hr-suit-backend-source-inventory.md

See Also

Keywords

  • Service ownership
  • Employee master data
  • Bounded-context boundary

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly