Merge pull request #4006 from tsiegleauq/fix_list_of_speakers
Fix broken nested agenda speaker
This commit is contained in:
commit
aa497ad543
@ -1,4 +1,4 @@
|
|||||||
import { BaseModel } from '../base/base-model';
|
import { Deserializer } from '../base/deserializer';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Representation of a speaker in an agenda item.
|
* Representation of a speaker in an agenda item.
|
||||||
@ -7,7 +7,7 @@ import { BaseModel } from '../base/base-model';
|
|||||||
* Part of the 'speakers' list.
|
* Part of the 'speakers' list.
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
export class Speaker extends BaseModel {
|
export class Speaker extends Deserializer {
|
||||||
public id: number;
|
public id: number;
|
||||||
public user_id: number;
|
public user_id: number;
|
||||||
public begin_time: string; // TODO this is a time object
|
public begin_time: string; // TODO this is a time object
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { BaseModel } from '../../shared/models/base/base-model';
|
|
||||||
import { Displayable } from '../../shared/models/base/displayable';
|
import { Displayable } from '../../shared/models/base/displayable';
|
||||||
import { Identifiable } from '../../shared/models/base/identifiable';
|
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.
|
* 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 id: number;
|
||||||
|
|
||||||
public abstract updateValues(update: BaseModel): void;
|
public abstract updateValues(update: Deserializable): void;
|
||||||
|
|
||||||
public abstract getTitle(): string;
|
public abstract getTitle(): string;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user