Replaced the producer field by director and added writer and studio fields
This commit is contained in:
parent
18f4412158
commit
5f6f875b86
4 changed files with 23 additions and 9 deletions
|
|
@ -5,7 +5,9 @@ import { MediaType } from '../utils/MediaType';
|
|||
export class MovieModel extends MediaTypeModel {
|
||||
plot: string;
|
||||
genres: string[];
|
||||
producer: string;
|
||||
director: string[];
|
||||
writer: string[];
|
||||
studio: string[];
|
||||
duration: string;
|
||||
onlineRating: number;
|
||||
actors: string[];
|
||||
|
|
@ -26,7 +28,9 @@ export class MovieModel extends MediaTypeModel {
|
|||
|
||||
this.plot = undefined;
|
||||
this.genres = undefined;
|
||||
this.producer = undefined;
|
||||
this.director = undefined;
|
||||
this.writer = undefined;
|
||||
this.studio = undefined;
|
||||
this.duration = undefined;
|
||||
this.onlineRating = undefined;
|
||||
this.actors = undefined;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ export class SeriesModel extends MediaTypeModel {
|
|||
|
||||
plot: string;
|
||||
genres: string[];
|
||||
studios: string[];
|
||||
writer: string[];
|
||||
studio: string[];
|
||||
episodes: number;
|
||||
duration: string;
|
||||
onlineRating: number;
|
||||
|
|
@ -38,7 +39,8 @@ export class SeriesModel extends MediaTypeModel {
|
|||
|
||||
this.plot = undefined;
|
||||
this.genres = undefined;
|
||||
this.studios = undefined;
|
||||
this.writer = undefined;
|
||||
this.studio = undefined;
|
||||
this.episodes = undefined;
|
||||
this.duration = undefined;
|
||||
this.onlineRating = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue