export class Student {
  id?: number;
  firstname: string;
  lastname: string;
  email: string;
  telephone: string;

  // --- EXTENDED ORM MODEL FIELDS ---
  // We use 'any' or specific types to match your Java Entities
  account?: any;
  address?: any;
  teamList?: any[];
  studyGroup?: any;
  // ----------------------------------

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