Commit Graph

13 Commits

Author SHA1 Message Date
Habib Fatkhul Rohman 04cfb9719b feat: Add many-to-many relationship between menus and clients with seeder support 2025-10-21 20:23:16 +07:00
Habib Fatkhul Rohman 7fa3971c70 feat: Add role-menu seeder and remove redundant ID field from M_Role_Menu 2025-10-21 20:11:40 +07:00
Habib Fatkhul Rohman 37d656999e feat: Implement seeders for menus, permissions, and role-permission associations 2025-10-21 20:05:14 +07:00
Habib Fatkhul Rohman 465908965e feat: Add new entities for maintenance management and user roles
- Created M_Location, M_MaintenanceGroup, M_MaintenanceGroupRole, M_MaintenanceGroupUser, M_MaintenanceScheduleHeader, M_MaintenanceScheduleLine, M_MaintenanceStaff, M_Menu_Client, M_Menu, M_Permissions, M_Role, M_Role_Menu, M_Role_Permission, M_User, M_User_Role entities.
- Implemented relationships and foreign keys for user roles and permissions.
- Added JSON seed files for roles and user roles, along with corresponding seed functions.
- Updated migration and seeder files to include new entities and ensure proper database setup.
- Commented out legacy product and tenant entities and their seed functions for future reference.
2025-10-21 15:06:43 +07:00
Habib Fatkhul Rohman 1b490d8770 Refactor migration and seeder files to remove Tenant and Product references, ensuring consistency with updated entity structures 2025-10-15 21:14:28 +07:00
Habib Fatkhul Rohman 3497f4e540 Refactor common.go to add soft delete and audit functionality with appropriate struct definitions 2025-10-15 21:14:09 +07:00
Habib Fatkhul Rohman d1f0d2000e Remove TenantID references from RefreshToken entity for consistency 2025-10-15 21:13:57 +07:00
Habib Fatkhul Rohman e27712ab18 Refactor RefreshToken entity to replace TenantID with ClientID for consistency 2025-10-15 21:13:27 +07:00
Habib Fatkhul Rohman 1a965282cd Add client and user seeders with updated structure and data 2025-10-15 21:12:30 +07:00
Habib Fatkhul Rohman dae2c0daa9 Add Product entity, migration, seeder, and JSON data for multi-tenant support 2025-09-16 11:01:46 +07:00
Habib Fatkhul Rohman 630c2881c5 Add TenantID to User and RefreshToken entities, update migrations and seeders 2025-09-15 11:34:54 +07:00
Habib Fatkhul Rohman 5a6b85ec18 Add Tenant entity, migration, seeder, and JSON data for tenants 2025-09-11 10:39:43 +07:00
Habib Fatkhul Rohman 87d28fffee
Initial commit 2025-09-10 14:38:44 +07:00