feat; added nventory policies metadata to items
This commit is contained in:
@@ -83,6 +83,17 @@ const schema = new mongoose.Schema(
|
||||
},
|
||||
},
|
||||
],
|
||||
policiesMetadata: {
|
||||
underStockLevelCount: {
|
||||
type: Number,
|
||||
},
|
||||
overStockLevelCount: {
|
||||
type: Number,
|
||||
},
|
||||
alertStockLevelCount: {
|
||||
type: Number,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
|
||||
Reference in New Issue
Block a user