Merge pull request 'docs/diagram-API' (#10) from docs/diagram-API into master
Reviewed-on: https://gitea.cb85.software/Epitech-T-DEV-811/T-DEV-811/pulls/10 Reviewed-by: MDeghaud <michel.deghaud@epitech.eu> Reviewed-by: nico <nicolas.sansd@gmail.com>
This commit is contained in:
commit
e56b92aa7b
29
API/docs/diagram.wsd
Normal file
29
API/docs/diagram.wsd
Normal file
@ -0,0 +1,29 @@
|
||||
@startuml diagram
|
||||
class users {
|
||||
id: text
|
||||
username: text
|
||||
email: email
|
||||
name: text
|
||||
image: file
|
||||
created: date
|
||||
updated: date
|
||||
}
|
||||
class trashs{
|
||||
id: text
|
||||
value: text
|
||||
author: users
|
||||
created: date
|
||||
updated: date
|
||||
}
|
||||
class data {
|
||||
id: text
|
||||
value: number
|
||||
poubelle_id: trashs
|
||||
unit: text
|
||||
status: bool
|
||||
created: date
|
||||
updated: date
|
||||
}
|
||||
users "1" <-- trashs
|
||||
trashs "1" <-- data
|
||||
@enduml
|
Loading…
x
Reference in New Issue
Block a user