情境
A local computer store sells computers and peripherals, tracks stock, and runs a repair service; this class diagram models the core sales, inventory, and repair workflows.
這張圖裡有什麼
看懂背後的決策。
01
Product as abstract base for Computer and Peripheral
02
Order composition with OrderLine for multi-item sales
03
RepairOrder linked to Product and Employee for service tracking
04
Inventory tracks product stock with Supplier for restocking
Use when designing or documenting a point-of-sale and inventory system for a small computer retailer with integrated repair services.