{"size": 377, "ext": "js", "max_stars_repo_path": "models/upcoming_event.js", "max_stars_repo_name": "whitesnow9291/jobsite-backend-express.js", "max_stars_repo_stars_event_min_datetime": "2018-04-03T04:32:49.000Z", "max_stars_repo_stars_event_max_datetime": "2018-04-03T04:32:49.000Z", "max_issues_repo_path": "models/upcoming_event.js", "max_issues_repo_name": "whitesnow9291/jobsite-backend-express.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "models/upcoming_event.js", "max_forks_repo_name": "whitesnow9291/jobsite-backend-express.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.3913043478, "max_line_length": 79, "alphanum_fraction": 0.6312997347}
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UpcomingEvent = new Schema({
  company_id: {
    type: Schema.Types.ObjectId
  },
  name: {
    type: String
  },
  content: {
    type: String
  },
  photo_url: {
    type: String
  },
  event_date: {
    type: Date
  }
});

module.exports = mongoose.model('UpcomingEvent', FoodLabel, 'upcoming_events');
