UNPKG
gathering
Version:
latest (0.0.1)
0.0.1
0.0.0
A social event management platform
github.com/DaQuirm/gathering
DaQuirm/gathering
gathering
/
service
/
models
/
event.coffee
12 lines
(9 loc)
•
229 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
mongoose =
require
'mongoose'
Schema
= mongoose.
Schema
Slot
=
require
'./slot.coffee'
EventSchema
=
new
Schema
title
:
String
start_date
:
Date
venue
:
String
slots
: [
Slot
]
module
.
exports
= mongoose.
model
'Event'
,
EventSchema