Commit 65c668c 1 parent 8340043 commit 65c668c Copy full SHA for 65c668c
File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -3,32 +3,24 @@ import { HydratedDocument } from 'mongoose';
3
3
import { ApiPropertyOptional } from '@nestjs/swagger' ;
4
4
5
5
export class Episode {
6
- @ApiPropertyOptional ( )
7
- @Prop ( { index : true } )
8
- movieId : number ;
9
-
10
6
@ApiPropertyOptional ( )
11
7
@Prop ( )
12
- seasonNumber ?: number ;
13
-
14
- @ApiPropertyOptional ( )
15
- @Prop ( )
16
- episodeNumber ?: number ;
8
+ number ?: number ;
17
9
18
10
@ApiPropertyOptional ( )
19
11
@Prop ( )
20
12
name ?: string ;
21
13
22
14
@ApiPropertyOptional ( )
23
15
@Prop ( )
24
- alternativeName ?: string ;
16
+ enName ?: string ;
25
17
26
18
@ApiPropertyOptional ( )
27
19
@Prop ( )
28
20
description ?: string ;
29
21
30
22
@ApiPropertyOptional ( )
31
- @Prop ( { type : ( ) => Date } )
23
+ @Prop ( )
32
24
date ?: string ;
33
25
}
34
26
You can’t perform that action at this time.
0 commit comments