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

export class LeagueConfigFormModelStructureDTO {
  @ApiProperty()
  @IsString()
  @IsEnum(['solo', 'team'])
  mode: 'solo' | 'team';
}