change UI & fix bugs

This commit is contained in:
2026-09-14 16:32:03 +03:30
parent 602da7f860
commit 4660b4f922
16 changed files with 693 additions and 63 deletions
+7 -2
View File
@@ -202,8 +202,8 @@ model Product {
stock Float?
isActive Boolean @default(true)
/// فیلدهای نمایش کاتالوگ موکاپ (اپ کاربر)
usageCategory ProductUsageCategory @default(other)
season ProductSeason @default(all_season)
usageCategory String @default("other")
season String @default("all_season")
widthCm Float?
composition String?
weightGrams Float?
@@ -509,6 +509,8 @@ model SystemSettings {
supportEmail String?
/// تصاویر دسته‌های کاربرد/فصل اپ کاربر: { trousers: dataUrl, summer: dataUrl, ... }
categoryImagesJson Json?
/// تعاریف دسته‌ها (کاربرد/فصل). اگر خالی باشد از مقادیر پیش‌فرض کد استفاده می‌شود.
categoryDefsJson Json?
updatedAt DateTime @updatedAt
}
@@ -523,6 +525,9 @@ model AppBanner {
imageUrl String?
displayOrder Int @default(0)
isActive Boolean @default(true)
showTitle Boolean @default(true)
showSubtitle Boolean @default(true)
showCta Boolean @default(true)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt