forked from Ruderverein-Donau-Linz/rowt
add docs
This commit is contained in:
25
doc/db/trailer.mermaid
Normal file
25
doc/db/trailer.mermaid
Normal file
@ -0,0 +1,25 @@
|
||||
classDiagram
|
||||
class Trailer {
|
||||
+int id
|
||||
+string name
|
||||
}
|
||||
|
||||
class TrailerReservation {
|
||||
+int id
|
||||
+int trailer_id
|
||||
+date start_date
|
||||
+date end_date
|
||||
+string time_desc
|
||||
+string usage
|
||||
+int user_id_applicant
|
||||
+int user_id_confirmation
|
||||
+datetime created_at
|
||||
}
|
||||
|
||||
class User {
|
||||
...
|
||||
}
|
||||
|
||||
TrailerReservation "*" -- "1" Trailer
|
||||
TrailerReservation "*" -- "1" User : applicant
|
||||
TrailerReservation "*" -- "0..1" User : confirmed_by
|
Reference in New Issue
Block a user