import { Groupe } from "./classes";

export type ActiviteDTO = {
  id: number|null;
  name: string;
  theme: string;
  duree: number;
  dataActivite: string[];
  sessionId: number|null;
}

export type AdminDTO = {
  id: number|null;
  id_keycloak: string;
  name: string;
  prenom: string;
}

export type AthleteDTO = {
  id:number|null;
  id_keycloak: string;
  name: string;
  prenom: string;
  categorie: string;
  niveau: string;
  groupes: Groupe[];
  sessionIds: number[];
};

export type CoachDTO = {
  id: number|null;
  id_keycloak: string;
  name: string;
  prenom: string;
  sessionIds: number[];
};

export type SessionDTO = {
  id: number|null;
  name: string;
  isRecurrent: boolean;
  creneau: string; // LocalDateTime → ISO string
  duree: number;
  groupe: Groupe;

  coachId: number|null;
  athleteIds: number[];
  activiteIds: number[];
};

