course table: id name description Course time contact table: id courseId weekth (week) day (day of the week) hour (starting class time) For example, at 14:00 on Wednesday of the third week -15:00 15:00-16:00 There are two classes, then there will be two records in the class time contact table:
course table: id name description
Course time contact table: id courseId weekth (week) day (day of the week) hour (starting class time)
For example, at 14:00 on Wednesday of the third week -15:00 15:00-16:00 There are two classes, then there will be two records in the class time contact table:
|--id-- |--courseId--|-- weekth-- |--day-- |--hour--|
|1 |15 |3 |3 |14 |
|2 |15 |3 |3 |15 |