Commit Graph

11 Commits

Author SHA1 Message Date
morteza 2cf554caa4 clean 2025-12-11 18:22:18 +03:30
morteza 89ed4c90de create admin 2025-11-25 16:22:46 +03:30
morteza 1d76bdcd80 admins 2025-11-25 16:17:28 +03:30
morteza e79040d81e fix bug in admin 2025-11-24 11:34:54 +03:30
morteza a3f0593443 update 2025-11-23 14:48:58 +03:30
morteza 7dd1b61cac update admin 2025-11-23 12:22:17 +03:30
morteza 7a53f0fa1b create admin 2025-11-22 12:52:28 +03:30
morteza 8a217f6034 Add AdminId decorator for extracting adminId from requests; refactor AdminController to utilize new decorator for fetching admin details and restaurant-specific admins; update AdminService to handle admin creation and retrieval by restaurant; remove unused role and permission entities for cleaner architecture. 2025-11-18 16:45:44 +03:30
morteza 2da66cdd86 Implement 'getMe' endpoint in AdminController to retrieve current admin details; update AdminService to return transformed admin details and adjust findById method for improved data handling. Remove unused user profile retrieval method from AdminUserController. 2025-11-18 10:58:28 +03:30
morteza 746769a735 Add authentication guards and API documentation to admin and restaurant controllers; update restaurant service for soft delete; enhance database seeder with new permissions and roles 2025-11-18 00:37:43 +03:30
morteza 7bd2b59cb1 Refactor admin module structure: moved services and controllers to providers and controllers directories, added PermissionService and PermissionController, updated Admin entity relationships, and created AdminRole entity. 2025-11-17 23:04:28 +03:30