1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/Directory.ts

10 lines
319 B
TypeScript
Raw Normal View History

2016-03-20 17:49:49 +08:00
import {Photo} from "./Photo";
export class Directory{
2016-05-05 01:05:19 +08:00
constructor(public id?:number,
2016-05-05 00:57:31 +08:00
public name?:string,
public path?:string,
public lastUpdate?:Date,
2016-05-05 01:05:19 +08:00
public directories:Array<Directory> =[],
2016-05-05 00:57:31 +08:00
public photos:Array<Photo> = []){}
2016-03-20 17:49:49 +08:00
}