import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsNumber } from 'class-validator';

export class LeagueConfigFormModelTimingsDTO {
  @ApiProperty()
  @IsString()
  raceDayOfWeek!: string;

  @ApiProperty()
  @IsNumber()
  raceTimeHour!: number;

  @ApiProperty()
  @IsNumber()
  raceTimeMinute!: number;
}