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

export class RemoveLeagueMemberOutputDTO {
  @ApiProperty()
  @IsBoolean()
  success!: boolean;

  @ApiProperty({ required: false })
  @IsOptional()
  @IsString()
  error?: string;
}