place.ts 443 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

    openTimes: number[][];
    closeTimes: number[][];
8
    location: string;
mdsecurity's avatar
mdsecurity committed
9
10
    constructor(name: string, openTimes: number[][],
        closeTimes: number[][], picture: string, location: string) {
mdsecurity's avatar
mdsecurity committed
11

mdsecurity's avatar
mdsecurity committed
12
        this.name = name;
mdsecurity's avatar
mdsecurity committed
13
14
        this.openTimes = openTimes;
        this.closeTimes = closeTimes;
mdsecurity's avatar
mdsecurity committed
15
        this.picture = picture;
16
17
        this.location = location;

mdsecurity's avatar
mdsecurity committed
18
19
        }

mdsecurity's avatar
mdsecurity committed
20
21
}