feat(BE-34): extend DB schema and update master data APIs [partial]

 DB Schema: product_warehouse entity and migration
 Master Data: added filter params to getall APIs
🚧 Pending: stock_logs implementation and adjustment APIs
This commit is contained in:
aguhh18
2025-10-09 13:33:30 +07:00
parent 2d49ffe4cd
commit a0bdc7b23c
33 changed files with 1203 additions and 10 deletions
+4 -2
View File
@@ -8,9 +8,10 @@ import (
"github.com/gofiber/fiber/v2"
"gorm.io/gorm"
constants "gitlab.com/mbugroup/lti-api.git/internal/modules/constants"
master "gitlab.com/mbugroup/lti-api.git/internal/modules/master"
users "gitlab.com/mbugroup/lti-api.git/internal/modules/users"
constants "gitlab.com/mbugroup/lti-api.git/internal/modules/constants"
inventory "gitlab.com/mbugroup/lti-api.git/internal/modules/inventory"
// MODULE IMPORTS
)
@@ -23,7 +24,8 @@ func Routes(app *fiber.App, db *gorm.DB) {
allModules := []modules.Module{
users.UserModule{},
master.MasterModule{},
constants.ConstantModule{},
constants.ConstantModule{},
inventory.InventoryModule{},
// MODULE REGISTRY
}