Основные классы предметной области
| Класс | Атрибуты | Основные операции |
|---|---|---|
| Product | id, code, name, unit | update() |
| Batch | id, number, productId, releaseDate, quantity | register() |
| Inspection | id, batchId, inspectorId, date, result, status | complete() |
| Measurement | id, inspectionId, metricId, value | validate() |
| QualityMetric | id, name, minValue, maxValue, unit | updateLimits() |
| Defect | id, inspectionId, defectTypeId, quantity, note | register() |
| User | id, name, roleId | authenticate() |
| Report | period, filters | generate() |
Связи и кратности
- Product 1 — * Batch.
- Batch 1 — * Inspection.
- Inspection 1 — * Measurement.
- Inspection 1 — * Defect.
- QualityMetric 1 — * Measurement.
- User 1 — * Inspection как исполнитель.