1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/ConentWrapper.ts
2017-07-19 20:47:09 +02:00

15 lines
440 B
TypeScript

import {DirectoryDTO, NotModifiedDirectoryDTO} from "./DirectoryDTO";
import {SearchResultDTO} from "./SearchResult";
export class ContentWrapper {
public directory: DirectoryDTO | NotModifiedDirectoryDTO;
public searchResult: SearchResultDTO;
constructor(directory: DirectoryDTO | NotModifiedDirectoryDTO = null, searchResult: SearchResultDTO = null) {
this.directory = directory;
this.searchResult = searchResult;
}
}