feat(db): add Anomalie, Notification and Historique tracking models
This commit is contained in:
@@ -154,14 +154,14 @@ erDiagram
|
||||
int emprunt_id FK
|
||||
int materiel_id FK
|
||||
int utilisateur_id FK
|
||||
int traitee_par_id FK
|
||||
int traitee_par_id FK "nullable"
|
||||
string type
|
||||
string description
|
||||
string statut
|
||||
boolean detectee_automatiquement
|
||||
string observation
|
||||
string observation "nullable"
|
||||
datetime date_detection
|
||||
datetime date_resolution
|
||||
datetime date_resolution "nullable"
|
||||
datetime created_at
|
||||
datetime updated_at
|
||||
}
|
||||
@@ -169,11 +169,11 @@ erDiagram
|
||||
HISTORIQUE {
|
||||
int id PK
|
||||
int utilisateur_id FK
|
||||
int emprunt_id FK
|
||||
int materiel_id FK
|
||||
int campus_id FK
|
||||
int salle_pret_id FK
|
||||
int poste_emprunt_id FK
|
||||
int emprunt_id FK "nullable"
|
||||
int materiel_id FK "nullable"
|
||||
int campus_id FK "nullable"
|
||||
int salle_pret_id FK "nullable"
|
||||
int poste_emprunt_id FK "nullable"
|
||||
string action
|
||||
string description
|
||||
datetime date_action
|
||||
@@ -183,7 +183,7 @@ erDiagram
|
||||
NOTIFICATION {
|
||||
int id PK
|
||||
int utilisateur_id FK
|
||||
int anomalie_id FK
|
||||
int anomalie_id FK "nullable"
|
||||
string titre
|
||||
string message
|
||||
string type
|
||||
|
||||
Reference in New Issue
Block a user