feat: complete product management with dynamic FAQs, PAO, storage conditions, safety guidelines and key highlights
This commit is contained in:
1 parent
ddd0dcbab6
commit
101611d8a7
18 files changed
+6922
-6483
No files matched your search
@@ -264,4 +264,47 @@ export class ProductDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
preorderDeposit?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'دستور مصرف و توصیه بالینی' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
feedingAdvice?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'نمایش بخش سوالات متداول' })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
showFaqs?: boolean;
|
||||
|
||||
@ApiPropertyOptional({ description: 'پرسش و پاسخهای متداول محصول' })
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
faqs?: Array<{ question: string; answer: string }>;
|
||||
|
||||
@ApiPropertyOptional({ description: 'مدت زمان ماندگاری پس از باز شدن (PAO)' })
|
||||
@IsOptional()
|
||||
paoMonths?: number | string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'شرایط نگهداری استاندارد' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
storageInfo?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'تداخلات و توصیههای احتیاطی' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
precautions?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'رده سنی و شرایط مصرف' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
lifeStage?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'نکات کلیدی بالای صفحه (Bullet Points)' })
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
keyHighlights?: string[];
|
||||
|
||||
@ApiPropertyOptional({ description: 'پیکربندی جامع دوز و دادههای تکمیلی' })
|
||||
@IsOptional()
|
||||
dosageConfig?: Record<string, any>;
|
||||
}
|
||||
Reference in new issue
Block a user