This commit is contained in:
Laurent
2025-03-18 13:54:22 +01:00
parent a056a8a921
commit 9b8b2463a3

View File

@@ -1,32 +1,15 @@
import type {Participant} from "@/models/Participant.ts";
export class Event {
private name: string;
private token: string;
private participants: Participant[];
public constructor(name: string, token : string, participants: Participant[]) {
public constructor(name: string, token: string, participants: Participant[]) {
this.name = name;
this.token = token;
this.participants = participants;
}
}
/*
{
"name": "Event for test 2",
"participants": [
{
"name": "tony",
"dates": [
{
"timestamp": 0
},
{
"timestamp": 2
}
]
}
]
}
*/