feat: store and enforce per-product payment and check limits
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -241,6 +241,11 @@ model Product {
|
||||
subtitle String?
|
||||
rollMeters Float @default(50)
|
||||
isNew Boolean @default(false)
|
||||
/// حداکثر مدت چک برای این محصول (ماه)
|
||||
maxCheckMonths Int @default(4)
|
||||
allowCash Boolean @default(true)
|
||||
allowCashCheck Boolean @default(true)
|
||||
allowCheck Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user