2017-02-09 01:52:37 +00:00
|
|
|
'use strict'
|
2016-10-15 03:31:15 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Upload Folder schema
|
|
|
|
*
|
|
|
|
* @type {<Mongoose.Schema>}
|
|
|
|
*/
|
2016-11-21 01:09:50 +00:00
|
|
|
var uplFolderSchema = Mongoose.Schema({
|
2016-10-15 03:31:15 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
_id: String,
|
2016-10-16 05:34:34 +00:00
|
|
|
|
2016-10-15 03:31:15 +00:00
|
|
|
name: {
|
2016-10-16 05:34:34 +00:00
|
|
|
type: String,
|
|
|
|
index: true
|
2016-10-15 03:31:15 +00:00
|
|
|
}
|
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
}, { timestamps: {} })
|
2016-10-15 03:31:15 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
module.exports = Mongoose.model('UplFolder', uplFolderSchema)
|