- Catalogo: Aggiunta di Schede

This commit is contained in:
Surya Paolo
2024-10-31 23:22:46 +01:00
parent fa1a2a7cdb
commit 3bdab927b6
9 changed files with 275 additions and 15 deletions

View File

@@ -137,6 +137,13 @@ const MyPageSchema = new Schema({
sottoMenu: [{
type: String
}],
date_created: {
type: Date,
default: Date.now
},
date_updated: {
type: Date,
},
});
MyPageSchema.statics.getFieldsForSearch = function () {