Add branches management module with database schema and validation

- Introduced `BranchesModule` to manage organizational branches, including read and write controllers.
- Created database migrations for the `branches` table, including constraints and unique indexes.
- Implemented validation for branch fields such as name, code, and address with corresponding utility functions.
- Developed service and repository layers for handling branch data operations.
- Added unit tests for the branches service, repository, and controllers to ensure functionality and correctness.
- Updated application module to include the new `BranchesModule` for better organization.
This commit is contained in:
shancheas
2026-08-24 13:42:19 +07:00
parent a8faea20ff
commit d28506e878
22 changed files with 3686 additions and 13 deletions
+7
View File
@@ -36,6 +36,13 @@
"when": 1787546862278,
"tag": "0004_next_the_fury",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1787549883658,
"tag": "0005_past_vengeance",
"breakpoints": true
}
]
}