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

15 lines
440 B
TypeScript
Raw Normal View History

2017-07-20 02:47:09 +08:00
import {DirectoryDTO, NotModifiedDirectoryDTO} from "./DirectoryDTO";
2016-12-28 18:50:05 +08:00
import {SearchResultDTO} from "./SearchResult";
2017-07-20 02:47:09 +08:00
export class ContentWrapper {
2017-07-20 02:47:09 +08:00
public directory: DirectoryDTO | NotModifiedDirectoryDTO;
public searchResult: SearchResultDTO;
2017-07-20 02:47:09 +08:00
constructor(directory: DirectoryDTO | NotModifiedDirectoryDTO = null, searchResult: SearchResultDTO = null) {
this.directory = directory;
this.searchResult = searchResult;
}
}