Fix broken nested agenda speaker

This commit is contained in:
Sean Engelhardt 2018-11-12 13:47:02 +01:00
parent 41caddd976
commit 71e8ccab9c
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import { BaseModel } from '../base/base-model';
import { Deserializer } from '../base/deserializer';
/**
* Representation of a speaker in an agenda item.
@ -7,7 +7,7 @@ import { BaseModel } from '../base/base-model';
* Part of the 'speakers' list.
* @ignore
*/
export class Speaker extends BaseModel {
export class Speaker extends Deserializer {
public id: number;
public user_id: number;
public begin_time: string; // TODO this is a time object

View File

@ -1,6 +1,6 @@
import { BaseModel } from '../../shared/models/base/base-model';
import { Displayable } from '../../shared/models/base/displayable';
import { Identifiable } from '../../shared/models/base/identifiable';
import { Deserializable } from 'app/shared/models/base/deserializable';
/**
* Base class for view models. alls view models should have titles.
@ -11,7 +11,7 @@ export abstract class BaseViewModel implements Displayable, Identifiable {
*/
public abstract id: number;
public abstract updateValues(update: BaseModel): void;
public abstract updateValues(update: Deserializable): void;
public abstract getTitle(): string;