Finally implemented EventStore.ts

This commit is contained in:
Laurent
2025-03-19 13:45:03 +01:00
parent 9b8b2463a3
commit 83a0a23268
16 changed files with 191 additions and 53 deletions

17
front/src/dto/EventDto.ts Normal file
View File

@@ -0,0 +1,17 @@
import type {Participant} from "@/models/Participant.ts";
import type {TimeStamp} from "@/models/TimeStamp.ts";
import type {ParticipantDto} from "@/dto/ParticipantDto.ts";
export class EventDto {
public name: string;
public token: string;
public participants: ParticipantDto[];
public constructor(name: string, token: string, participants: ParticipantDto[]) {
this.name = name;
this.token = token;
this.participants = participants;
}
}