Added a bunch of stuff

This commit is contained in:
Dobie Wollert
2015-08-05 06:03:02 -07:00
parent b4e727c0e6
commit fdc8727044
35 changed files with 1815 additions and 276 deletions

View File

@ -30,7 +30,8 @@ var workorderSchema = new Schema({
checkNumber: String,
paidOn: Date,
alternativeContact: String,
trackingNumber: String
trackingNumber: String,
devices: [{ type: ObjectId, ref: 'Device' }]
});
module.exports = mongoose.model('Workorder', workorderSchema);