|
|
@ -3,7 +3,7 @@ from .exceptions import MemberNotFoundException |
|
|
|
|
|
|
|
class Event(): |
|
|
|
def __init__(self, event_id, rol_id, name, start_time, end_time, |
|
|
|
description, location, country, admidio): |
|
|
|
description, location, country, cat_id, admidio): |
|
|
|
self.__c = admidio.db.cursor() |
|
|
|
self.id = event_id |
|
|
|
self.rol_id = rol_id |
|
|
@ -13,6 +13,7 @@ class Event(): |
|
|
|
self.description = description |
|
|
|
self.location = location |
|
|
|
self.country = country |
|
|
|
self.cat_id = cat_id |
|
|
|
self.admidio = admidio |
|
|
|
self.participants = list() |
|
|
|
self.leaders = list() |
|
|
|