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

Inventory Management System

The document describes classes in an online shopping system. It includes classes like User, Department, Category, Product, Cart, Order, and Supplier. The classes track attributes like user IDs, department names, product details, order statuses, and supplier information. Methods allow retrieving and updating data as well as performing actions like logging in, adding items to carts, checking out orders, and more.

Uploaded by

DAUNTLESS02
Copyright
© © All Rights Reserved
0% found this document useful (0 votes)
39 views

Inventory Management System

The document describes classes in an online shopping system. It includes classes like User, Department, Category, Product, Cart, Order, and Supplier. The classes track attributes like user IDs, department names, product details, order statuses, and supplier information. Methods allow retrieving and updating data as well as performing actions like logging in, adding items to carts, checking out orders, and more.

Uploaded by

DAUNTLESS02
Copyright
© © All Rights Reserved
You are on page 1/ 1

SessionManager <<abstract>>User Administrator

-useId:string -userId:string -adminName:string


-depatrmentName:string -password:string -email:string
1 -loginStatus:string
+getUser() +updateCatalog():bool
+getDepartment() +verifyLogin():bool

Retailer
0..*
Department -retailerId:int
PushCart
-retailerName:string
1
-cartId:int -address:string
-departmentId
-productId:int -email:string
-name
-quantity:int -phoneNo:int
-description
-dateAdded:int -creditCardInfo:string
-shippingInfo:string
+getCategoryInDepartment() +addCartItem()
+deleteCartItem() +register()
0..*
+updateQuanity()
1 +login()
1
+viewCartDetails() +updateProfile()
+checkout()
1

Category ShippingInfo 0..*

-categoryId:int -shippingId:int Orders


1
-departmentId:int -shippingType:string
-orderId:int
-categoryName:string -shippingCost:int
-dateCreated:string
-description:string -shippingRegionId:int -dateShipped:string
+getProductInCategory() +updateShippingInfo() 1
1 -customerName:string
-customerId:string
-status:string
1
-shippingId:string

Supplier +placeOrder()
1
-supplierId:int
-supplierName:string 1

1 -address:string
-email:string OrderDetail
Product
-phoneNo:int 1
-shippingInfo:string -orderId:int
-productId:int -productId:int
-name:string -productName:string
-description:string 0..*
+register() 0..*
-quantity:int
-price:int +login() -unitCost:float
-imageFileName:string +updateProfile() -subtotal:float
+dispalyProduct() +calcPrice()
+getProductDetails()
0..*
1

You might also like