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

24 lines
490 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-09-04 11:33:28 +02:00
public constructor(input?: any) {
if (input) {
this.deserialize(input);
}
2018-08-08 17:25:39 +02:00
}
2018-09-04 11:33:28 +02:00
public deserialize(input: any): void {
2018-08-08 17:25:39 +02:00
Object.assign(this, input);
}
}