latest digs

This commit is contained in:
Dobie Wollert
2013-09-04 03:05:47 -04:00
parent b4ca8d9ae3
commit 460e8f0be0
12 changed files with 229 additions and 46 deletions

View File

@ -8,6 +8,7 @@ var workorderSchema = new Schema({
createdOn: Date,
createdBy: { type: ObjectId, ref: 'User' },
reason: String,
maintenanceType: String,
remarks: String,
status: String,
scheduling: {
@ -24,4 +25,4 @@ var workorderSchema = new Schema({
deleted: { type: Boolean, default: false }
});
module.exports = mongoose.model('Workorder', workorderSchema);
module.exports = mongoose.model('Workorder', workorderSchema);