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

export class CreateLeagueOutputDTO {
  @ApiProperty()
  @IsString()
  leagueId!: string;

  @ApiProperty()
  @IsBoolean()
  success!: boolean;
}