mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
19 lines
356 B
TypeScript
19 lines
356 B
TypeScript
import { View } from './view';
|
|
|
|
import { Collection } from '../domain/collection';
|
|
|
|
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;
|
|
}
|
|
}
|