Feat(BE-36,37,38,39): master area, customer, kandang, location, warehouse

This commit is contained in:
Hafizh A. Y
2025-10-02 10:51:15 +07:00
parent dbc1f79a36
commit e8905be856
79 changed files with 3745 additions and 169 deletions
+5 -4
View File
@@ -44,10 +44,11 @@ func main() {
TplName string
}{
{
TplPath: "tools/templates/model.tmpl",
OutDir: filepath.Join("internal", "modules", toKebabPath(d.Parts[:len(d.Parts)-1]), toKebab(d.Entity)+"s", "models"),
OutSuffix: ".model.go",
TplName: "model",
TplPath: "tools/templates/entity.tmpl",
// Centralize entities at internal/entities
OutDir: filepath.Join("internal", "entities"),
OutSuffix: ".go",
TplName: "entity",
},
{
TplPath: "tools/templates/validation.tmpl",