feat[BE#US386]: add production standards module with CRUD operations

- Created database migration for production standards and related tables.
- Implemented entities for ProductionStandard, ProductionStandardDetail, and StandardGrowthDetail.
- Developed controller for handling production standard requests.
- Added DTOs for data transfer between layers.
- Implemented service layer for business logic related to production standards.
- Created repository interfaces and implementations for data access.
- Added validation for production standard requests.
- Registered routes for production standards in the main application.
This commit is contained in:
aguhh18
2025-12-27 09:02:16 +07:00
committed by Hafizh A. Y
parent dbb13da7c4
commit bb76d27f25
14 changed files with 1038 additions and 9 deletions
+2
View File
@@ -20,6 +20,7 @@ import (
suppliers "gitlab.com/mbugroup/lti-api.git/internal/modules/master/suppliers"
uoms "gitlab.com/mbugroup/lti-api.git/internal/modules/master/uoms"
warehouses "gitlab.com/mbugroup/lti-api.git/internal/modules/master/warehouses"
productionStandards "gitlab.com/mbugroup/lti-api.git/internal/modules/master/production-standards"
// MODULE IMPORTS
)
@@ -40,6 +41,7 @@ func RegisterRoutes(router fiber.Router, db *gorm.DB, validate *validator.Valida
products.ProductModule{},
banks.BankModule{},
flocks.FlockModule{},
productionStandards.ProductionStandardModule{},
// MODULE REGISTRY
}