aboutsummaryrefslogtreecommitdiff
path: root/classes.puml
blob: 9ce32b600c9287125f7819257f59c8c79ebaa5cf (plain)
  1. @startuml
  2. abstract class Person {
  3. +name
  4. }
  5. abstract class Employee extends Person {
  6. +ssn
  7. }
  8. class Tap extends Employee {
  9. }
  10. enum VipRole {
  11. DEAN
  12. RESEARCHER
  13. RESEARCH_ASSISTANT
  14. }
  15. class Vip extends Employee {
  16. +VipRole role
  17. }
  18. class Student extends Person {
  19. }
  20. abstract class Org {
  21. +name
  22. }
  23. class Institute extends Org {
  24. }
  25. class Faculty extends Org, Institute {
  26. +address
  27. }
  28. VipRole - Vip
  29. @enduml