@startuml

class contrat_location {
  - id: integer
  - datelocation: date
  - heure_debut: time
  - heure_fin: time
}

class louer {
  - id_contrat: integer
  - id_embarcation: string
  - id_personnes: integer
   
}

class type_embarcation {
  - code: string
  - nom: string
  - nb_place: integer
  - prix_demi_heure: numeric 
  - prix_heure: numeric
  - prix_demi_jour: numeric
  - prix_jour: numeric
 
}

class embarcation {
  - id: integer
  - couleur: string
  - disponible: bool
  - type: string

}

contrat_location "1" -- "1..*" louer
louer "1..*" -- "1" embarcation 
embarcation "1..*" -- "0..1" type_embarcation

@enduml


