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
|
|
|
|
2016-05-10 01:14:33 +08:00
|
|
|
export class ContentWrapper {
|
|
|
|
|
2017-07-20 02:47:09 +08:00
|
|
|
public directory: DirectoryDTO | NotModifiedDirectoryDTO;
|
2017-06-11 04:32:56 +08:00
|
|
|
public searchResult: SearchResultDTO;
|
2016-05-10 01:14:33 +08:00
|
|
|
|
2017-07-20 02:47:09 +08:00
|
|
|
constructor(directory: DirectoryDTO | NotModifiedDirectoryDTO = null, searchResult: SearchResultDTO = null) {
|
2017-06-11 04:32:56 +08:00
|
|
|
this.directory = directory;
|
|
|
|
this.searchResult = searchResult;
|
|
|
|
}
|
2016-05-10 01:14:33 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|