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

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