Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. @startuml
  2. abstract class User{
  3. id: int
  4. card_history: CardList
  5. card: Card
  6. }
  7.  
  8. class PrivateUser{
  9. address: Address
  10. }
  11.  
  12. class BuisnessUser{
  13. company_address: Address
  14. }
  15.  
  16. class Address{
  17. city: string
  18. zip_code: string
  19. street: string
  20. number: string
  21. }
  22.  
  23. class CardList{
  24. cards: Card
  25. }
  26.  
  27. class Card{
  28. saldo: int
  29. }
  30.  
  31. class Transaction{
  32.  
  33. }
  34.  
  35. PrivateUser -up-|> User
  36. BuisnessUser -up-|> User
  37. Address -up- PrivateUser
  38. Address -up- BuisnessUser
  39. CardList -left- User
  40. CardList --->"0..*" Card
  41. Card "1"<--right--"1,2" User
  42. @enduml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement