2018-09-13 09:23:57 +02:00
|
|
|
import { BaseModel } from '../base/base-model';
|
2018-09-10 11:15:12 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Representation of a motion category. Has the nested property "File"
|
|
|
|
* @ignore
|
|
|
|
*/
|
2018-09-20 12:25:37 +02:00
|
|
|
export class MotionCommentSection extends BaseModel<MotionCommentSection> {
|
2018-09-10 11:15:12 +02:00
|
|
|
public id: number;
|
|
|
|
public name: string;
|
|
|
|
public read_groups_id: number[];
|
|
|
|
public write_groups_id: number[];
|
|
|
|
|
|
|
|
public constructor(input?: any) {
|
2018-11-07 08:43:48 +01:00
|
|
|
super('motions/motion-comment-section', 'Comment section', input);
|
2018-09-10 11:15:12 +02:00
|
|
|
}
|
2018-09-13 07:57:38 +02:00
|
|
|
|
2018-09-13 09:23:57 +02:00
|
|
|
public getTitle(): string {
|
2018-09-13 07:57:38 +02:00
|
|
|
return this.name;
|
|
|
|
}
|
2018-09-10 11:15:12 +02:00
|
|
|
}
|