26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
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
 |