Decouple aftersales customers from company management

This commit is contained in:
Frudrax Cheng
2026-05-28 10:29:17 +08:00
parent 2aab9203a0
commit d1d189528c
5 changed files with 35 additions and 28 deletions
+4
View File
@@ -107,6 +107,10 @@ backend-go/
- Creating an employee through `/api/employees` creates employee master data and automatically generates one employee serial bound by `employeeId`.
- `admin` / `technician` creation requires an initial password; `employee` creation must not require one.
### Business Boundaries
- Company management (`Company`, `/api/companies`) is for authorized agents/company-code verification.
- Aftersales order `companyName` is customer information stored on the order only; creating or updating an aftersales order must not create or link a `Company` record.
### Import Organization
Standard imports followed by third-party imports, then project imports (sorted alphabetically):
```go