import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class AddProductDto {
  @ApiProperty({ required: true })
  @IsNotEmpty()
  orderId: number;

  @ApiProperty({ required: true })
  @IsNotEmpty()
  productId: string;

  @ApiProperty({ required: true })
  @IsNotEmpty()
  quantity: number;
}
