Decouple aftersales customers from company management
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user