-
Notifications
You must be signed in to change notification settings - Fork 14
Event
Luke Cassar edited this page Aug 21, 2018
·
4 revisions
To manage information concerning all competition events.
| Attribute | Type |
|---|---|
| id | integer |
| region_id | integer |
| competition_id | integer |
| name | string |
| category_type | string |
| registration_type | string |
| capacity | integer |
| string | |
| string | |
| address | text |
| accessibility | text |
| youth_support | text |
| parking | text |
| public_transport | text |
| operation_hours | text |
| catering | text |
| lat | float |
| long | float |
| video_url | string |
| start_time | date-time |
| end_time | date-time |
| approval | boolean (default: true) |
| Attribute | Constraint | Value |
|---|---|---|
| name | max length | MAX_LOCATION_NAME_LENGTH |
| category_type | values | [see Event Category Types below] |
| registration_type | values | [see Registration Types below] |
| capacity | max length | MAX_ATTENDANCE_CAPACITY |
| validity | VALID_EMAIL_REGEX | |
| max length | MAX_TWITTER_LENGTH | |
| accessibility | max length | MAX_TEXT_LENGTH |
| youth_support | max length | MAX_TEXT_LENGTH |
| parking | max length | MAX_TEXT_LENGTH |
| public_transport | max length | MAX_TEXT_LENGTH |
| operation_hours | max length | MAX_TEXT_LENGTH |
| catering | max length | MAX_TEXT_LENGTH |
| video_url | max length | MAX_URL_LENGTH |
- Competition
- State Connections
- State Awards
- National Awards
- Open
- Open Invitation
- Invitations Only
- One Event can have many Assignments as assignable.
- One Event can have only one Region.
- One Event can have only one Competition.
- One Event can have many PromoCodes.
- One Event can have only one Sponsorship through sponsorable.
- One Event can have many Registrations.
- Event Hosts
- Event Support
| Title | Create | Update | Read | Destroy |
|---|---|---|---|---|
| GovHack Management Team | ⭕ | ⭕ | ||
| Region Directors | ⭕ | ⭕ | ||
| Region Support | ⭕ | ⭕ | ||
| Event Hosts | ⭕ | |||
| Event Support | ⭕ | |||
| (Public User) | ⭕ |