summaryrefslogtreecommitdiff
path: root/src/models/product
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/product')
-rw-r--r--src/models/product/product.schema.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models/product/product.schema.ts b/src/models/product/product.schema.ts
index 8f488f3..d44dcb7 100644
--- a/src/models/product/product.schema.ts
+++ b/src/models/product/product.schema.ts
@@ -3,6 +3,7 @@ import { Document, Schema, Types } from 'mongoose';
export interface ProductSchema extends Document {
name: string;
description: string;
+ group: string;
price: number;
quantity: number;
specs: any;
@@ -11,6 +12,7 @@ export interface ProductSchema extends Document {
export const productSchema = new Schema({
name: String,
description: String,
+ group: String,
price: Number,
quantity: Number,
specs: Object