import { IsUUID, IsOptional, IsInt, Min } from 'class-validator';

export class AssignContainerToWagonDto {
  @IsUUID()
  wagonId!: string;

  @IsOptional()
  @IsInt()
  @Min(1)
  position?: number;
}