药品销售管理系统类图
时间: 2023-12-01 18:42:15 浏览: 63
根据提供的引用内容,我们可以了解到药品销售管理系统需要完成的主要功能有“入库管理”、“调价管理”、“出库管理”、“财务信息管理”、“药品信息管理”等一系列与业务流程相配套的完整功能。因此,药品销售管理系统的类图应该包括以下几个类:
1. 药品类(Drug):包括药品编号、药品名称、药品类型、药品规格、药品单价、药品库存等属性。
2. 入库类(Inbound):包括入库编号、入库时间、入库数量、入库单价、入库总价、供应商等属性。
3. 出库类(Outbound):包括出库编号、出库时间、出库数量、出库单价、出库总价、客户等属性。
4. 财务信息类(FinancialInfo):包括财务信息编号、财务信息类型、财务信息内容等属性。
5. 药品信息管理类(DrugInfoManagement):包括添加药品、删除药品、修改药品信息、查询药品信息等方法。
6. 入库管理类(InboundManagement):包括添加入库信息、删除入库信息、修改入库信息、查询入库信息等方法。
7. 出库管理类(OutboundManagement):包括添加出库信息、删除出库信息、修改出库信息、查询出库信息等方法。
8. 财务信息管理类(FinancialInfoManagement):包括添加财务信息、删除财务信息、修改财务信息、查询财务信息等方法。
9. 供应商类(Supplier):包括供应商编号、供应商名称、供应商地址、联系人、联系电话等属性。
10. 客户类(Customer):包括客户编号、客户名称、客户地址、联系人、联系电话等属性。
下面是药品销售管理系统的类图:
```mermaid
classDiagram
class Drug{
-drugId: int
-drugName: string
-drugType: string
-drugSpec: string
-drugPrice: float
-drugStock: int
+getDrugInfo(): void
+setDrugInfo(): void
}
class Inbound{
-inboundId: int
-inboundTime: datetime
-inboundNum: int
-inboundPrice: float
-inboundTotalPrice: float
-supplier: string
+getInboundInfo(): void
+setInboundInfo(): void
}
class Outbound{
-outboundId: int
-outboundTime: datetime
-outboundNum: int
-outboundPrice: float
-outboundTotalPrice: float
-customer: string
+getOutboundInfo(): void
+setOutboundInfo(): void
}
class FinancialInfo{
-financialInfoId: int
-financialInfoType: string
-financialInfoContent: string
+getFinancialInfo(): void
+setFinancialInfo(): void
}
class DrugInfoManagement{
+addDrug(): void
+deleteDrug(): void
+modifyDrug(): void
+queryDrug(): void
}
class InboundManagement{
+addInbound(): void
+deleteInbound(): void
+modifyInbound(): void
+queryInbound(): void
}
class OutboundManagement{
+addOutbound(): void
+deleteOutbound(): void
+modifyOutbound(): void
+queryOutbound(): void
}
class FinancialInfoManagement{
+addFinancialInfo(): void
+deleteFinancialInfo(): void
+modifyFinancialInfo(): void
+queryFinancialInfo(): void
}
class Supplier{
-supplierId: int
-supplierName: string
-supplierAddress: string
-contactPerson: string
-contactPhone: string
+getSupplierInfo(): void
+setSupplierInfo(): void
}
class Customer{
-customerId: int
-customerName: string
-customerAddress: string
-contactPerson: string
-contactPhone: string
+getCustomerInfo(): void
+setCustomerInfo(): void
}
DrugInfoManagement --> Drug
InboundManagement --> Inbound
OutboundManagement --> Outbound
FinancialInfoManagement --> FinancialInfo
Inbound --> Supplier
Outbound --> Customer
```
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)