place.ts 408 Bytes
Newer Older
mdsecurity's avatar
mdsecurity committed
1

mdsecurity's avatar
mdsecurity committed
2
export class Place {
mdsecurity's avatar
mdsecurity committed
3
    name: string;
mdsecurity's avatar
mdsecurity committed
4
    picture: string;
mdsecurity's avatar
mdsecurity committed
5
6
7
8
9
    status: string;
    startTimes: Date[];
    endTimes: Date[];
    constructor(name: string, startTimes: Date[],
        endTimes: Date[], picture: string, status: string) {
mdsecurity's avatar
mdsecurity committed
10

mdsecurity's avatar
mdsecurity committed
11
12
13
        this.name = name;
        this.startTimes = startTimes;
        this.endTimes = endTimes;
mdsecurity's avatar
mdsecurity committed
14
        this.picture = picture;
mdsecurity's avatar
mdsecurity committed
15
        this.status = status;
mdsecurity's avatar
mdsecurity committed
16
17
18
    }
}