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

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

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

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