ADD: unit property

This commit is contained in:
MohammadHMazarei
2025-04-17 10:54:50 +03:30
parent 0ff90e4368
commit ef208e0072
+4
View File
@@ -13,6 +13,10 @@ const belongingSchema = new mongoose.Schema(
type: ObjectID, type: ObjectID,
ref: 'Category', ref: 'Category',
}, },
unit: {
type: String,
required: true,
},
description: String, description: String,
relatedProjects: [String], relatedProjects: [String],
location: { location: {