feat(backend): support prescriptionUrl attachment in CreateOrderDto and OrdersService
This commit is contained in:
1 parent
7cc5c7d176
commit
0bdb500554
3 files changed
+24
-21
No files matched your search
@@ -25,6 +25,11 @@ export class CreateOrderDto {
|
||||
@IsString()
|
||||
couponCode?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'آدرس/شناسه تصویر نسخه پزشکی (برای داروهای نیازمند نسخه)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
prescriptionUrl?: string;
|
||||
|
||||
@ApiProperty({ description: 'لیست اقلام سفارش', type: [OrderItemDto] })
|
||||
@IsArray()
|
||||
@ValidateNested({ each: true })
|
||||
|
||||
Reference in new issue
Block a user