feat(backend): support prescriptionUrl attachment in CreateOrderDto and OrdersService

This commit is contained in:
parsa aghaei committed 2026-07-26 19:21:46 +03:30
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 })