16 lines
385 B
JavaScript
16 lines
385 B
JavaScript
/*
|
|
* Project Model
|
|
* -------------------------------------------------------------
|
|
* Put some description here!
|
|
*/
|
|
const uuid = require('uuid/v4')
|
|
const Project = {
|
|
name: String,
|
|
user_id: String,
|
|
archived: { type: Boolean, default: false },
|
|
data: String,
|
|
shared_user_ids: [String],
|
|
uuid: { type: String, default: uuid }
|
|
}
|
|
|
|
module.exports = exports = Project |