feat(db): add Emprunt, Checklist and ChecklistElement transaction models

This commit is contained in:
SaidSoighiri94
2026-06-05 11:11:53 +02:00
parent 0774ee3669
commit 6908a2bf6e
3 changed files with 182 additions and 25 deletions
+7 -7
View File
@@ -116,12 +116,12 @@ erDiagram
int poste_emprunt_id FK
datetime date_emprunt
datetime date_retour_prevue
datetime date_retour_reelle
datetime date_retour_reelle "nullable"
string statut
string mode_identification_emprunt
string mode_identification_retour
string commentaire_depart
string commentaire_retour
string mode_identification_retour "nullable"
string commentaire_depart "nullable"
string commentaire_retour "nullable"
datetime created_at
datetime updated_at
}
@@ -132,7 +132,7 @@ erDiagram
int utilisateur_id FK
string type
datetime date_verification
string commentaire
string commentaire "nullable"
datetime created_at
datetime updated_at
}
@@ -140,11 +140,11 @@ erDiagram
CHECKLIST_ELEMENT {
int id PK
int checklist_id FK
int accessoire_id FK
int accessoire_id FK "nullable"
string nom_element
string etat
int quantite_constatee
string commentaire
string commentaire "nullable"
datetime created_at
datetime updated_at
}