Guest User

Untitled

a guest
Oct 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. @startuml
  2.  
  3. title SpotifyEurope (Karol)
  4.  
  5. /'
  6. ' ****************
  7. ' *** Entities ***
  8. ' ****************
  9. '/
  10.  
  11. entity Playlist {
  12. *id: Int(16)
  13. --
  14. bar
  15. }
  16.  
  17. entity User {
  18. *id: Int(16)
  19. --
  20. * foo
  21. }
  22.  
  23. entity Artist {
  24. *id: Int(16)
  25. --
  26. }
  27.  
  28. entity Genre {
  29. *id: Int(16)
  30. --
  31. }
  32.  
  33. entity Track {
  34. *id: Int(16)
  35. --
  36. }
  37.  
  38. entity Country {
  39. *id: Int(16)
  40. --
  41. }
  42.  
  43. entity Album {
  44. *id: Int(16)
  45. --
  46. }
  47.  
  48. entity UserHistory {
  49. *id: Int(16)
  50. --
  51. }
  52.  
  53. entity Likes {
  54. *id: Int(16)
  55. --
  56. createdAt: Date()
  57. updatedAt: Date()
  58. like: Boolean
  59. }
  60.  
  61. entity Followers {
  62. *id: Int(16)
  63. --
  64. createdAt: Date()
  65. updatedAt: Date()
  66. }
  67.  
  68. /'
  69. ' ****************************************************************************************
  70. '/
  71.  
  72. /'
  73. ' *****************
  74. ' *** Relations ***
  75. ' *****************
  76. '/
  77.  
  78.  
  79. A -{ B
  80.  
  81. @enduml
Add Comment
Please, Sign In to add comment