Data Models - VITCMUN/munverse GitHub Wiki

Here's how our data is modeled!

User

  • Integer user_type - [0-Delegate, 1-EB, 2-Admin]
  • String username
  • String password
  • String profile_picture_path

Council

  • Number id - always zero to ensure only one council
  • String council_name
  • String council_logo_path

Event

  • Number id - always zero to ensure only one event
  • String event_name
  • String event_logo_path

Message

  • User sender
  • User receiver
  • TimeStamp timestamp
  • Bool ViaEB?
  • String content