import { ArrayNotEmpty, IsArray, IsUUID } from 'class-validator';

/**
 * OCC fulfilment: the specific wagons hand-picked to satisfy a transfer request.
 * The service validates they all sit in the request's source yard, match its
 * wagon type, and number exactly the requested quantity.
 */
export class FulfillTransferRequestDto {
  @IsArray()
  @ArrayNotEmpty()
  @IsUUID('4', { each: true })
  wagonIds!: string[];
}
