Audience: New engineers ramping into Assets. It's a small, self-contained module — a good first area.
Two nouns, one join:
Everything else is CRUD, taxonomy, and read models. No money, no queues, no external providers.
Asset.cs + EmployeeAsset.cs (Domain/Entities/Tenant/) — the two core entities. Note IsMultipleAssignable / MaxAssignment / AssignmentCount on Asset, and AssignmentDate / ReleaseDate / AutoReleaseDate on EmployeeAsset.AssetModel.cs — AssetStatuParams (Active/Inactive) and EmployeeAssetStatuParams (Assigned/Released). The two status axes.AssetService.CreateEmployeeAsset — how an allocation is built (and the interval-guard gotcha).AssetService.ReleaseEmployeeAsset(s) — how release works (and note nothing auto-fires it).AdminAssetsService — the admin orchestration + table read models (ExpandoObject rows).dashboard/documents/assets/Assets.tsx (list) → AddAssignment.tsx (assign).| You want to change… | Go to |
|---|---|
| Item / allocation fields | Asset.cs, EmployeeAsset.cs (+ migration) |
| Assign / release logic | AssetService.cs, AdminAssetsService.cs |
| Statuses | AssetModel.cs (AssetStatuParams, EmployeeAssetStatuParams) |
| Admin endpoints | Admin/AssetsController.cs |
| Employee self-view | Employee/AssetsController.cs, Employee/AssetsService.cs |
| Admin UI | web-app/.../dashboard/documents/assets/* |
AutoReleaseDate is stored but no worker acts on it. If you build a feature on it, you're building the worker too. (RFD-002)Active/Inactive ≠ allocation Assigned/Released. "Available" needs both (Active + free capacity).