Shows: fill in dto and entity
This commit is contained in:
parent
4a13b2a50e
commit
f90ef12490
2 changed files with 16 additions and 2 deletions
|
|
@ -1 +1,8 @@
|
|||
export class ShowDto {}
|
||||
export class ShowDto {
|
||||
_id: string;
|
||||
title: string;
|
||||
year: number;
|
||||
seasons: number;
|
||||
description: string;
|
||||
genres: string[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,8 @@
|
|||
export class Show {}
|
||||
export interface Show {
|
||||
_id: string;
|
||||
title: string;
|
||||
year: number;
|
||||
seasons: number;
|
||||
description: number;
|
||||
genres: string[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue