feat(loads): Adding shipper_warehouse field to loads model

This commit is contained in:
Josepablo C
2025-02-27 21:10:28 -06:00
parent a44f24853a
commit 679a265951
3 changed files with 8 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ const schema = new Schema({
posted_by_name: { type: String }, // search purpose
bidder: { type: Schema.Types.ObjectId, ref: 'users' },
shipper_warehouse : { type: Schema.Types.ObjectId, ref: 'branches' },
origin: address,
origin_geo: {
type: pointSchema,