OpenSlides/client/src/app/shared/models/users/personal-note.ts

22 lines
470 B
TypeScript
Raw Normal View History

import { BaseModel } from '../base/base-model';
/**
* Representation of users personal note.
* @ignore
*/
export class PersonalNote extends BaseModel {
2018-08-29 13:21:25 +02:00
public id: number;
public user_id: number;
public notes: Object;
2018-09-04 11:33:28 +02:00
public constructor(input: any) {
super('users/personal-note', input);
}
public getTitle(): string {
return 'Personal note';
}
}
2018-08-24 13:05:03 +02:00
BaseModel.registerCollectionElement('users/personal-note', PersonalNote);