### Mongodb Schema
### Users
- _id : username -> string (unique)
- user_id -> integer
- first_name -> string
- last_name -> string
- date_of_birth -> date
- email -> string (unique)
- phone -> Integer (unique)
- qualification -> string
- qualified_year -> Integer
- College -> string
- branch -> string
- occupation -> string
- company -> string
- place -> string
- interests -> list of strings
- has_laptop -> string (options)
- has_internet -> string (options)
- about_swecha -> string (options)
- role -> string (default participant)
- permissions -> dictionary of values
- events -> list of dictionaries
Note: Same format for all date types.
#### Example
```json=
{
"_id" : "saikrishi",
"first_name" : "Sai Krishna",
"last_name" : "Teja",
"date_of_birth" : "1996-09-09",
"email" : "saiteja@swechaap.org",
"phone" : 1234567890,
"qualification" : "B.Tech",
"qualified_year" : 2020,
"College" : "NIT",
"branch" : "CSE",
"occupation" : "Software Engineer",
"company" : "Deep Compute",
"place" : "Guntur",
"interests" : ["Programming"],
"has_laptop" : true
"has_internet" : true,
"about_swecha" : "Friend",
"role" : "participant",
"permissions" : {
"is_attendance_access" : false,
"is_event_creation" : false,
"is_update_event" : false,
"is_delete_event" : false,
"is_approve_participant" : false,
"is_assign_speakers" : false,
"is_assign_volunteers" : false,
"is_upload_template" : false,
"is_update_template" : false,
"is_delete_template" : false,
"is_assign_roles" : false
},
"events" : [
{
"event_id" : "freedomfest_2021",
"registered" : true,
"attended" : false,
"payment_id": "ff2021klc",
"amount_paid": 200
"payment_mode": "online"
}
]
}
```