mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
latest bits
This commit is contained in:
16
app/model/deviceType.js
Normal file
16
app/model/deviceType.js
Normal 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);
|
Reference in New Issue
Block a user