Skip to content

Instantly share code, notes, and snippets.

@andreaj8
Created October 21, 2013 23:21
Show Gist options
  • Save andreaj8/7092500 to your computer and use it in GitHub Desktop.
Save andreaj8/7092500 to your computer and use it in GitHub Desktop.
Target Descriptio
var TargetSchema = mongoose.Schema({
id: Number,
cure: {type:mongoose.Schema.Types.ObjectId, ref:'Cure'},
exercise : String,
startate : Date,
criteria : Array,
endDate : Date,
masterizzationCriteria : Object, //{ numero ripetizioni , %}
// leve:Number, // 0 1 2
deleted:Boolean
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment