28 lines
522 B
JavaScript
28 lines
522 B
JavaScript
/**
|
|
* Run
|
|
*
|
|
* @module :: Model
|
|
* @description :: A short summary of how this model works and what it represents.
|
|
* @docs :: http://sailsjs.org/#!documentation/models
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
attributes: {
|
|
creatorName: {
|
|
type: 'string',
|
|
required: true
|
|
},
|
|
creatorEmail: {
|
|
type: 'email',
|
|
required: true
|
|
},
|
|
groupEmails: 'String',
|
|
menuUrl: {
|
|
type: 'url'
|
|
},
|
|
restaurant: 'string'
|
|
}
|
|
|
|
};
|