class diagram - How to model different superclasses in UML -


i have existing system people (private), companies(business) , employees(business) available. want create realations between entities define supplier , customer. next options should possible:

  • a company can supplier person customer.
  • a company can supplier company customer.
  • a company can supplier employee of company.

there products , services available in existing system. want model following:

  • a supplier delivers product or service customer.

and when product delivered customer, want model following:

  • a supplier invoices delivered product(s) , service(s) customer.

how can model this?

is supplier need entity ? maybe role.

what solution :

suppliers

you can make copy , modify model link : clone model


Comments