add planned_trip functionality

This commit is contained in:
2023-04-04 12:19:56 +02:00
parent 3dfc64071c
commit 3d907487a1
12 changed files with 273 additions and 32 deletions

View File

@ -17,31 +17,12 @@
# DB
- users
- id: i32
- name: String
- pw: String
- is_cox: bool (false)
- is_admin: bool (false)
- is_guest: bool (true)
- planned_event
- id: i32
- name: String (e.g. "USI")
- planned_amount_cox: i32
- trip_details_id: i32 (trip_details.id)
- allow_guests: bool (false)
- trip
- id: i32
- cox_id: i32 (user.id)
- trip_details: Option<i32> (trip_details.id)
- planned_event_id: Option<i32> (planned_event.id)
- created: chrono::DateTime
- trip_details
- id: i32
- planned_starting_time: String
- max_people: i32
- day: chrono::NaiveDate
- notes: String
- user_trip
- trip_details_id: i32 (trip_details.id)
- user_id: i32 (user.id)
@ -54,7 +35,7 @@
- [x] User passwort zurücksetzen
- [x] Cox + admin + guest setzen
- [ ] Ausfahrten
- [ ] CRUD planned_event
- [ ] CRUD trip_details
- [x] CRUD planned_event
- [x] CRUD trip_details
- [ ] CRUD trip
- [ ] CRUD user_trip