import { IsNotEmpty, IsNumber, IsString } from 'class-validator';

export class CreateCordinatesDTO {
  @IsNumber()
  @IsNotEmpty()
  riderId: number;

  @IsNumber()
  @IsNotEmpty()
  latitude: number;

  @IsString()
  @IsNotEmpty()
  name: string;
}
