This commit is contained in:
g
2025-02-07 04:43:47 +00:00
parent d3e19c7e09
commit 6c4f3f0866
94 changed files with 11777 additions and 0 deletions

10
models/products.ts Normal file
View File

@@ -0,0 +1,10 @@
export interface Product {
_id?: string;
name: string;
description: string;
unitType: "pcs" | "gr" | "kg";
category: string;
tieredPricing: { minQuantity: number; pricePerUnit: number }[]; // Make pricePerUnit a number
image?: string | null;
}