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

export class AnularViajeDto {
  @ApiProperty({ example: 'Se suspendió el reparto' })
  @IsString() @MinLength(3)
  motivo: string;
}
