when u create course u specify days such as (friday and sunday) , starting date ,end date, time (9:00 Pm), room number and session duration (2 hours) and the system wiil automatically generate dates with days in a table and later on u can update day by day.
course capacity depends on room or course