cart
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';
|
||||
import { SetCarDeliveryDto } from './set-car-delivery.dto';
|
||||
|
||||
|
||||
|
||||
export class SetAllCartParmsDto {
|
||||
@ApiProperty({
|
||||
description: 'Cart description or notes',
|
||||
@@ -27,14 +25,4 @@ export class SetAllCartParmsDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
paymentMethodId!: string;
|
||||
|
||||
@ApiProperty({ description: 'Table number for dine-in orders', example: '5', required: false })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
tableNumber?: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsOptional()
|
||||
@IsObject()
|
||||
carAddress?: SetCarDeliveryDto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user