diff --git a/src/shows/dto/show.dto.ts b/src/shows/dto/show.dto.ts index 32a14c7..930c1a1 100644 --- a/src/shows/dto/show.dto.ts +++ b/src/shows/dto/show.dto.ts @@ -1 +1,8 @@ -export class ShowDto {} +export class ShowDto { + _id: string; + title: string; + year: number; + seasons: number; + description: string; + genres: string[]; +} diff --git a/src/shows/entities/show.entity.ts b/src/shows/entities/show.entity.ts index ae469be..25f489e 100644 --- a/src/shows/entities/show.entity.ts +++ b/src/shows/entities/show.entity.ts @@ -1 +1,8 @@ -export class Show {} +export interface Show { + _id: string; + title: string; + year: number; + seasons: number; + description: number; + genres: string[]; +}