23 lines
333 B
JavaScript
23 lines
333 B
JavaScript
"use strict";
|
|
|
|
const modb = require('mongoose'),
|
|
Promise = require('bluebird'),
|
|
_ = require('lodash');
|
|
|
|
/**
|
|
* Upload Folder schema
|
|
*
|
|
* @type {<Mongoose.Schema>}
|
|
*/
|
|
var uplFolderSchema = modb.Schema({
|
|
|
|
name: {
|
|
type: String
|
|
}
|
|
|
|
},
|
|
{
|
|
timestamps: {}
|
|
});
|
|
|
|
module.exports = modb.model('UplFolder', uplFolderSchema); |