latest bits

This commit is contained in:
Dobie Wollert
2015-08-03 05:00:22 -04:00
parent 3964ec1321
commit b4e727c0e6
19 changed files with 1054 additions and 699 deletions

16
app/model/deviceType.js Normal file
View File

@ -0,0 +1,16 @@
var mongoose = require('mongoose')
Schema = mongoose.Schema,
ObjectId = Schema.ObjectId;
var deviceTypeSchema = new Schema({
category: String,
make: String,
model: String,
technicalData: String,
links: String,
partsRecommended: String,
images: [{ type: String }],
deleted: { type: Boolean, default: false }
});
module.exports = mongoose.model('DeviceType', deviceTypeSchema);