Refactor CustomerPlanService to use FacilityRepository, remove PlaceService, and introduce RfidTagService

- Updated CustomerPlanService to replace references to PlaceRepo with FacilityRepository for managing customer plans and associated facilities.
- Removed PlaceService and its related methods, consolidating functionality into FacilityService.
- Added RfidTagService for managing RFID tags, including methods for creating, updating, and setting statuses of tags.
- Updated TenantDbContext to include new DbSet for RfidTags and CustomerPlanFacilities, and adjusted model configurations accordingly.
- Enhanced FacilityService to support new booking modes and validation for facility creation and updates.
This commit is contained in:
2026-09-29 13:02:52 +05:30
parent bffc9b1686
commit 7d8a8478ff
39 changed files with 1596 additions and 678 deletions
+5
View File
@@ -12,5 +12,10 @@ namespace Fitness_core_BE.Interfaces.Services
Task<object> CreateFacilitySession(object payload, HttpContext httpContext);
Task<object> GetSessions(object payload, HttpContext httpContext);
Task<object> CancelFacilitySession(object payload, HttpContext httpContext);
// Absorbed from the old IPlaceService.
Task<object> AssignDevice(object payload, HttpContext httpContext);
Task<object> GetAvailability(object payload, HttpContext httpContext);
}
}