bitwarden-estensione-browser/src/models/view/collectionView.ts

19 lines
345 B
TypeScript
Raw Normal View History

2018-01-25 20:57:42 +01:00
import { View } from './view';
2018-02-19 18:33:32 +01:00
import { Collection } from '../domain';
2018-01-25 20:57:42 +01:00
export class CollectionView implements View {
id: string;
organizationId: string;
name: string;
constructor(c?: Collection) {
if (!c) {
return;
}
this.id = c.id;
this.organizationId = c.organizationId;
}
}