0% found this document useful (0 votes)
29 views

UML Class Diagram Tutorial Example

awfawf

Uploaded by

mokey5031
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

UML Class Diagram Tutorial Example

awfawf

Uploaded by

mokey5031
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

User

Customer -userId: string


-password: string
-customerName: string -loginStatus: string Administrator
-address: string -registerDate: date
-email: string
-creditCardInfo: string -adminName: string
1
-shippingInfo: string +verifyLogin(): bool -email: string
-accountBalance: float
+updateCatalog(): bool
0..* +register()
+login()
Shopping Cart Shipping Info
+updateProfile()

-cartId: int 1 -shippingId: int


-productID: int -shippingType: string
-quantity: int -shippingCost: int
1
-dateAdded: int -shippingRegionId: int

+addCartItem() 0..*
+updateShippingInfo()
+updateQuantity()
Order
+viewCartDetails()
+checkOut()
-orderId: int
-dateCreated: string 1 Order Details
-dateShipped: string
-customerName: string -orderId:int
-customerId: string -productId: int
-status: string 1 has a 1
-productName: string
-shippingId: string -quantity: int
-unitCost: float
-subtotal: float
+placeOrder()

+calcPrice

You might also like