1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
var mongoose = require('mongoose'); module.exports = mongoose.model('Doss', { titre: { type: String, default: "Dossier" }, parent: { type: String, default: 'lost' }, special: { type: String, default: '' } // TODO Visibilité (brouillon) });