I am currently in the process of setting up Class Diagrams for an Online Takeaway Service, similar to that of JustEat.
I don't really have much experience when it comes to creating UML Diagrams but I was wondering if someone could take a look at my current Class Diagram and perhaps give me some advice or correction to point me in the right direction?
I have attached a SCREENSHOT of my current progress.
Many Thanks, Jay
Without knowing the business case it's impossible to elaborate on semantics. However, here a few (mostly syntactical) tips:
cls
prefix in your classes. A capital first letter already indicates that its a class (or a type in general) Customer
and Cart
place the role name cart
near the Cart
to indicate that Customer
has a cart
attribute which is of type Cart
. Customer
class and create an Authentication
class on its own. I assume that the missing parameters and general void
return values are due to the early stage of your design.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.