holy ravioli

This commit is contained in:
Laurent
2025-03-20 17:36:46 +01:00
parent fd7bdace3b
commit 609ef2b705
28 changed files with 245 additions and 93 deletions

View File

@@ -1,17 +1,17 @@
import type {Attendee} from "@/models/Attendee.ts";
import type {TimeStamp} from "@/models/TimeStamp.ts";
import type {EventDate} from "@/models/EventDate.ts";
import type {AttendeeDto} from "@/dto/AttendeeDto.ts";
export class EventDto {
public name: string;
public token: string;
public attendees: AttendeeDto[];
public dates : Map<EventDate, Attendee[]>
public constructor(name: string, token: string, attendees: AttendeeDto[]) {
public constructor(name: string, token: string, dates: Map<EventDate, Attendee[]>) {
this.name = name;
this.token = token;
this.attendees = attendees;
this.dates = dates;
}
}