import { Type } from 'class-transformer'; import { IsDate, IsString, MaxLength, MinLength } from 'class-validator'; export class CollectTournamentResultWindowDto { @IsDate() @Type(() => Date) startTime!: Date; @IsDate() @Type(() => Date) endTime!: Date; } export class CollectTournamentResultRiotMatchDto { @IsString() @MinLength(1) @MaxLength(96) riotMatchId!: string; }