OpenSlides/client/src/app/shared/models/motions/motion-log.ts

26 lines
644 B
TypeScript
Raw Normal View History

2018-08-08 17:25:39 +02:00
import { Deserializable } from '../deserializable.model';
/**
* Representation of a Motion Version.
*
* @ignore
*/
export class MotionLog implements Deserializable {
2018-08-29 13:21:25 +02:00
public message_list: string[];
public person_id: number;
public time: string;
public message: string;
2018-08-08 17:25:39 +02:00
2018-08-29 13:21:25 +02:00
public constructor(message_list?: string[], person_id?: number, time?: string, message?: string) {
2018-08-08 17:25:39 +02:00
this.message_list = message_list;
this.person_id = person_id;
this.time = time;
this.message = message;
}
2018-08-29 13:21:25 +02:00
public deserialize(input: any): this {
2018-08-08 17:25:39 +02:00
Object.assign(this, input);
return this;
}
}