import { Utilisateur } from "../models/utilisateur";
import { Cours } from "../models/cours";

export class Etudiant implements Utilisateur {
  public id: string;
  public token: string;
  public prenom: string;
  public nom: string;
  public listeCours: Cours[] = [];

  constructor(
    id: string = "",
    prenom: string = "",
    nom: string = "",
    token: string = "",
  ) {
    this.id = id;
    this.prenom = prenom;
    this.nom = nom;
    this.token = token;
  }

  public isEnseignant():boolean {
    return false;
  }

  public isAnonyme():boolean {
    return false;
  }
}
