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

export class AssignWagonToTrainDto {
  @IsUUID()
  trainId!: string;

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