2018-01-25 20:57:42 +01:00
|
|
|
import { View } from './view';
|
|
|
|
|
2018-02-19 19:07:19 +01:00
|
|
|
import { Folder } from '../domain/folder';
|
2018-01-25 20:57:42 +01:00
|
|
|
|
|
|
|
export class FolderView implements View {
|
2018-01-29 23:59:57 +01:00
|
|
|
id: string = null;
|
2018-01-25 20:57:42 +01:00
|
|
|
name: string;
|
|
|
|
|
|
|
|
constructor(f?: Folder) {
|
|
|
|
if (!f) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
this.id = f.id;
|
|
|
|
}
|
|
|
|
}
|