holy ravioli
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user