feat: added put, pick & reserve apis
This commit is contained in:
@@ -10,7 +10,15 @@ const schema = new mongoose.Schema(
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: "Sublevel",
|
||||
},
|
||||
quantity: {
|
||||
totalQuantity: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
reservedQuantity: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
availableQuantity: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user