backend-service/internal/models
ats-tech25 c9d20afda8 refactor(models): Enhance notification and schedule model structures
- Add comprehensive validation and error handling for Notification model
- Introduce strongly typed enums for notification types and statuses
- Implement GORM hooks for pre-create and pre-update validation
- Add helper methods for notification retry and sending logic
- Improve Schedule model with validation, availability checks, and duration methods
- Add constraints and validation for schedule time slots
- Enhance model relationships with foreign key references
- Implement additional utility methods for schedule management
Improves data integrity, adds robust validation, and provides more comprehensive model behaviors for notifications and schedules.
2025-11-05 15:07:28 +00:00
..
booking.go feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
notification.go refactor(models): Enhance notification and schedule model structures 2025-11-05 15:07:28 +00:00
schedule.go refactor(models): Enhance notification and schedule model structures 2025-11-05 15:07:28 +00:00
user.go feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00