0% found this document useful (0 votes)
71 views1 page

UML Class Diagram Tutorial Example

The document outlines a data model for an e-commerce system, detailing the relationships and attributes of users, administrators, shopping carts, orders, and shipping information. Key functionalities include user registration, login, profile updates, and order management. The model emphasizes the interactions between customers and the system, including cart operations and order processing.

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)
71 views1 page

UML Class Diagram Tutorial Example

The document outlines a data model for an e-commerce system, detailing the relationships and attributes of users, administrators, shopping carts, orders, and shipping information. Key functionalities include user registration, login, profile updates, and order management. The model emphasizes the interactions between customers and the system, including cart operations and order processing.

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