Giao diện
Workforce Planning Engine
TÓM TẮT
workforcePlanningEngine.ts (~1270 dòng, 60KB) implements 5-layer workforce planning. Input từ forecast engine, output là shift plans + staff allocation + cost breakdown.
File: src/services/modules/workforce/workforcePlanningEngine.ts
Xem chi tiết kiến trúc 5 lớp tại Workforce Planner — Kiến trúc 5 lớp.
Sub-modules (6 files)
| Module | File | Size | Mô tả |
|---|---|---|---|
| Core Engine | workforcePlanningEngine.ts | 60KB | 5-layer planning engine |
| Labor Law | laborLaw.ts | 8.8KB | VN Labor Code 2019 compliance |
| Variable UPH | variableUPH.ts | 5.5KB | Per-level, per-day-type UPH |
| CTV Allocation | ctvAllocation.ts | 5.5KB | Temp worker allocation |
| WLU Calculator | wluCalculator.ts | 9.5KB | Workload unit calculation |
| Service Layer | workforce.ts | 15KB | High-level API |
Tài liệu liên quan
- Kiến trúc 5 lớp — Chi tiết mỗi layer
- Luật Lao động — VN Labor Code compliance
- Forecast Engine — Input source