Oopsie
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user