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