refactor
This commit is contained in:
15
apps/api/src/domain/race/dtos/RaceDTO.ts
Normal file
15
apps/api/src/domain/race/dtos/RaceDTO.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class RaceDTO {
|
||||
@ApiProperty()
|
||||
id!: string;
|
||||
|
||||
@ApiProperty()
|
||||
name!: string;
|
||||
|
||||
@ApiProperty()
|
||||
date!: string;
|
||||
|
||||
@ApiProperty({ nullable: true })
|
||||
leagueName?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user