Add divisions management module with database schema and validation

- Introduced `DivisionsModule` to manage organizational divisions, including read and write controllers.
- Created database migrations for the `divisions` table and related constraints.
- Implemented validation for division name and code with corresponding utility functions.
- Added service and repository layers for handling division data operations.
- Developed unit tests for the divisions service, repository, and controllers to ensure functionality and correctness.
- Updated application module to include the new `ConfigurationModule` for better organization.
This commit is contained in:
shancheas
2026-08-24 12:14:46 +07:00
parent 07550b3167
commit a8faea20ff
22 changed files with 2521 additions and 6 deletions
+1
View File
@@ -11,6 +11,7 @@
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"rootDir": ".",
"outDir": "./dist",
"types": ["node", "jest"],
"incremental": true,