import { WagonStatus } from '@edr/types';
import { ArrayNotEmpty, IsArray, IsEnum, IsUUID } from 'class-validator';

export class BulkSetWagonStatusDto {
  @IsArray()
  @ArrayNotEmpty()
  @IsUUID('4', { each: true })
  wagonIds!: string[];

  @IsEnum(WagonStatus)
  status!: WagonStatus;
}
