Designing a database for time table for a school management system

Hello I'm about to create a school management system where it should assure the relashionship between teachers, classes,periods, days, sections a single teacher can teach different subject in different class same subject can be taught by different teacher in different classes,etc ...Some good ideas on the DB structure and the system will be appreciated. link for demo


According to the information you have provided, You database design will be like in the image below. enter image description here