Skip to content
Snippets Groups Projects
Commit 6a26e9bc authored by Lukáš Kratochvíl's avatar Lukáš Kratochvíl
Browse files

feat: ER diagram

parent ba57ab0f
No related branches found
No related tags found
No related merge requests found
backend/diagrams/movie_database.png

17.3 KiB

@startuml spotify
entity Movie {
* id <<UUID>>
* id_director <<UUID>>
---
* name: String
* originalName: String
* intro: String
* picture: String
* published: Date
* runTimeMinutes: Number
}
entity Category {
* id <<UUID>>
---
* name: String
}
entity MovieCategory {
* id <<UUID>>
* id_movie <<UUID>>
* id_category <<UUID>>
---
}
entity Director {
* id <<UUID>>
---
* name: String
* surname: String
* birthDate: Date
}
Movie }|...|| Director
Movie ||...|{ MovieCategory
Category ||...o{ MovieCategory
@enduml
Relations: ||, |o, o|, }|, |{, o{, o}
Preview: ALT + d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment