text: var mongoose = require('mongoose');
  
  let personneSchema = mongoose.Schema({
      nom: {type: String, required: true},
      prenom: {type: String, required: true},
      photo: String,
      domaine: {type: String, required: true},
      dob: {type: Date, required: true},
      ville: {type: String, required: true},
      genre: {type: String, enum : ['h','f'], required: true},
      dateChoisi: {type: Date, default: null},
      choisi: {type: Boolean, default: false}
  });
  
  module.exports = mongoose.model('personne', personneSchema);
  