import { IsNumber, IsOptional, IsString, IsUrl, Min } from 'class-validator';

export class CreateWebBidDto {
  @IsUrl()
  origin_url: string;

  @IsUrl()
  url: string;

  @IsNumber()
  @Min(60)
  @IsOptional()
  arrival_offset_seconds: number;

  @IsNumber()
  @Min(600)
  @IsOptional()
  early_tracking_seconds: number;
}
