import Discipline from "models/Discipline" ; interface ISemester { number : number ; disciplines : Discipline [ ] ; } export default class SchoolGrade { private semesters : ISemester [ ] ; constructor ( semesters ) { this . semesters = semesters ; } public setSemesters ( semesters ) { this . semesters = semesters ; } public getSemesters ( ) { return this . semesters ; } }