Huehive Logo

HueHive

#A4C8E1
#B2E0A1
#D3D3D3
#FFA500
#FFFFFF
create class diagram classDiagram class User { -fullName: string -emailID: string -mobileNumber: string -address: string -password: string -accountType: string +signUp() +login() +recoverPassword() } class PharmacyOwner { +manageInventory() +setPricingPolicies() +generateReports() +manageStaff() +monitorPerformance() +handleSupplierCommunications() +manageSystemBackups() } class Pharmacist { +reviewPrescriptions() +updateStockLevels() +checkInventory() +acceptOrRejectOrder() +alertOwnerForRefill() +handleCustomerRelations() +updateSalesData() } class Customer { +browseProducts() +selectProducts() +viewCart() +confirmOrder() +makePayment() +viewPurchaseHistory() +uploadPrescriptions() +checkMedicineDetails() +useDiscountCodes() +cancelOrders() } class Supplier { +manageDeliveries() +viewInventoryList() +fulfillRestockingRequests() +confirmDeliveryTimelines() +updateTransactionStatus() } class Transaction { -transactionID: string -transactionType: string -productID: string -customerID: string -employeeID: string -amount: float -date: date -time: time +recordTransaction() } class Product { -productID: string -name: string -description: string -price: float -quantity: int -expiryDate: date +updateQuantity() } class Order { -orderID: string -customerID: string -orderDate: date -totalAmount: float -orderStatus: string +placeOrder() +cancelOrder() } class Payment { -paymentID: string -transactionID: string -paymentDate: date -paymentMethod: string -paymentStatus: string +processPayment() } class Report { -reportID: string -reportType: string -reportDate: date +generateReport() } class Discount { -discountID: string -discountCode: string -discountPercentage: float -startDate: date -endDate: date +applyDiscount() } class Cart { -cartID: string -customerID: string +addItem() +removeItem() +viewCartDetails() } 'Relationships' User <|-- PharmacyOwner : "Is a" User <|-- Pharmacist : "Is a" User <|-- Customer : "Is a" User <|-- Supplier : "Is a" Transaction -- Product : "Relates to" Transaction -- Customer : "Relates to" Transaction -- User : "Relates to" Order -- Customer : "Belongs to" Order -- Product : "Contains" Payment -- Transaction : "Relates to" Report -- PharmacyOwner : "Generated by" Discount -- Product : "Applied to" Cart -- Customer : "Belongs to" Cart -- Product : "Contains"
0