holy fuck.
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
import type {Attendee} from "@/models/Attendee.ts";
|
||||
import type {EventDate} from "@/models/EventDate.ts";
|
||||
import type {AttendeeDto} from "@/dto/AttendeeDto.ts";
|
||||
import { AttendanceDto } from "./AttendanceDto.ts";
|
||||
|
||||
export class EventDto {
|
||||
|
||||
public name: string;
|
||||
public token: string;
|
||||
public dates : Map<number, AttendeeDto[]>
|
||||
public attendances : AttendanceDto[];
|
||||
|
||||
public constructor(name: string, token: string, dates: Map<number, AttendeeDto[]>) {
|
||||
public constructor(name: string, token: string, attendances : AttendanceDto[]) {
|
||||
this.name = name;
|
||||
this.token = token;
|
||||
this.dates = dates;
|
||||
this.attendances = attendances;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user