diff --git a/school-service/internal/models/timetable.go b/school-service/internal/models/timetable.go index c580674..450e15f 100644 --- a/school-service/internal/models/timetable.go +++ b/school-service/internal/models/timetable.go @@ -47,14 +47,14 @@ type TimetableRoom struct { // TimetableSubject is a school-wide subject for timetabling. type TimetableSubject struct { - ID uuid.UUID `json:"id" db:"id"` - CreatedByUserID uuid.UUID `json:"created_by_user_id" db:"created_by_user_id"` - Name string `json:"name" db:"name"` - ShortCode string `json:"short_code" db:"short_code"` - Color string `json:"color,omitempty" db:"color"` - IsMainSubject bool `json:"is_main_subject" db:"is_main_subject"` - RequiredRoomType string `json:"required_room_type,omitempty" db:"required_room_type"` - CreatedAt time.Time `json:"created_at" db:"created_at"` + ID uuid.UUID `json:"id" db:"id"` + CreatedByUserID uuid.UUID `json:"created_by_user_id" db:"created_by_user_id"` + Name string `json:"name" db:"name"` + ShortCode string `json:"short_code" db:"short_code"` + Color string `json:"color,omitempty" db:"color"` + IsMainSubject bool `json:"is_main_subject" db:"is_main_subject"` + RequiredRoomType string `json:"required_room_type,omitempty" db:"required_room_type"` + CreatedAt time.Time `json:"created_at" db:"created_at"` } // TimetableTeacher is a teacher as a schedulable resource.