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

Class Diagram

This document outlines the entities and relationships in an online retail store database. The key entities include owners, suppliers, products, customers, purchases, sales, orders, and associated transaction details. Each entity has attributes like IDs, names, dates, amounts etc. Relations allow adding, updating, deleting and searching data across the different tables.

Uploaded by

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

Class Diagram

This document outlines the entities and relationships in an online retail store database. The key entities include owners, suppliers, products, customers, purchases, sales, orders, and associated transaction details. Each entity has attributes like IDs, names, dates, amounts etc. Relations allow adding, updating, deleting and searching data across the different tables.

Uploaded by

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

Owner Name Supplier Product Customer

Name Name
-OwnerId: int -SupplierId: int -ProductId : int -CustomerId: int
-Name : string -Name : string -ProductName : string -Name : string
-Mobile : string -Mobile : string -Brand : string -Mobile : string
-Email : string -Email : string -Price : float Name -Email : string
-Username:string -Address : string -Qty : int -Username : string
-Password : string -Password : string
Name
+updateProfile() +Add() +Add() +Add()
+SellStock() +Update() +Edit() +Edit()
+MakePayment() +Delete() +Delete() +Delete()
+AddStock() +Search() +Search() +Search()
+MakeOrder()
+Paypayment()

Purchase
-PurchaseBillNo : int Sales Order
-SupplierId : int -SaleBillNo : int -OrderId: int
-Date : date -CustomerId : int -CustomerId : int
Name
-TotalAmount : float -SalesDate : date -OrderDate : date
-TotalQty : int -TotalAmount : float -TotalAmount : floa
-TotalQty : int -TotalQty : int
+Add()
+Edit() +Add() +Add()
+Delete() +Edit() +Edit()
+Search() +Delete() +Delete()
+Search() +Search()

Payment Payable Purchase Details Payment Receivable Sales Details Order D


-PaymentId : int -PurchaseBillNo : int -PaymentId : int -SaleBillNo : int -OrderId : int
-SupplierId : int -ProductId : int -CustomerId : int -ProductId : int -ProductId : int
-PurchaseBillNo : int -PurchaseQty : int -SaleBillNo : int -SoldQty : int -TotalQtyOrder
-PayAmount : float -SubTotal : float -PayAmount : float -SubTotal : float -TotalOrdeAmt
-Paytype : string +Add() -Paytype : string +Add()
+Edit() +Edit()
+Add() +Delete() +Add() +Add() +Delete()
+Edit() +Search() +Edit() +Edit() +Search()
+Delete() +Delete() +Delete()
+Search() +Search() +Search()

You might also like