payservedb 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/models/levy.js +12 -0
package/package.json
CHANGED
package/src/models/levy.js
CHANGED
|
@@ -61,6 +61,18 @@ const levySchema = new mongoose.Schema(
|
|
|
61
61
|
ref: "Facility",
|
|
62
62
|
required: true,
|
|
63
63
|
},
|
|
64
|
+
// Added reminder reference
|
|
65
|
+
reminderId: {
|
|
66
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
67
|
+
ref: 'Reminder',
|
|
68
|
+
required: false
|
|
69
|
+
},
|
|
70
|
+
// Added penalty reference
|
|
71
|
+
penaltyId: {
|
|
72
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
73
|
+
ref: 'Penalty',
|
|
74
|
+
required: false
|
|
75
|
+
}
|
|
64
76
|
},
|
|
65
77
|
{
|
|
66
78
|
timestamps: true,
|