Finally implemented EventStore.ts
This commit is contained in:
17
front/src/dto/EventDto.ts
Normal file
17
front/src/dto/EventDto.ts
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user