import { Grade } from "./grade.model";

export class Student {
  id?: number;
  firstname: string;
  lastname: string;
  email: string;
  telephone: string;
  grades: Grade[];

  constructor(firstname: string, lastname: string, email: string, telephone: string, grades: Grade[]) {
    this.firstname = firstname;
    this.lastname = lastname;
    this.email = email;
    this.telephone = telephone;
    this.grades = grades;
  }

}
