使用分类列表(一) 业务交易 Sale/Payment 交易项目 Saleslineltem 与交易项目相关的产品或服务tem/ Flight/seat 交易记录的与何处? Register 与交易相关的人或组织的角色 Cashier/ Store 交易/活动地点 Store 重要事件 Sale/ payment 物理对象 Register 事物的描述 ProductDescription
使用分类列表(一) 业务交易 Sale/Payment 交易项目 SalesLineItem 与交易项目相关的产品或服务 Item/Flight/Seat 交易记录的与何处? Register 与交易相关的人或组织的角色 Cashier/Store 交易/活动地点 Store 重要事件 Sale/Payment 物理对象 Register 事物的描述 ProductDescription …… ……
使用分类列表(二) 类别 Productcatalog 事物的容器 Store/bin 容器中的事物 Item 其他协作的系统 CreditAuthorization System 金融、工作、合约的记录 Receipt/ Maintenancelog 金融手段 Cash/check 执行工作所需的进度表、 Repairschedule 手册、文档
使用分类列表(二) 类别 ProductCatalog 事物的容器 Store/Bin 容器中的事物 Item 其他协作的系统 CreditAuthorizationSystem 金融、工作、合约的记录 Receipt/MaintenanceLog 金融手段 Cash/Check 执行工作所需的进度表、 手册、文档 RepairSchedule
通过识别名词短语寻找概念类 口通过一种名为语言分析的技术,从对领域的文本 性描述中识别名词和名词短语,将其作为候选的 概念类或属性 Main Success Scenario(or Basic Flow ): 1. Customer arrives at a pos checkout with goods and/or services to purchase 2. Cashier starts a new sale 3. Cashier enters item identifier 4. System records sale line item and presents item description, price, and running total. Price calculated from a set of price rules Cashier repeats steps 2-3 until indicates done 5. System presents total with taxes calculated 6. Cashier tells Customer the total, and asks for payment 7. Customer pays and System handles payment 8. System logs the completed sale and sends sale and payment information to the external Accounting( for accounting and commissions) and Inventory systems(to update inventory 9. System presents receipt 10. Customer leaves with receipt and goods(if any)
通过识别名词短语寻找概念类 通过一种名为语言分析的技术,从对领域的文本 性描述中识别名词和名词短语,将其作为候选的 概念类或属性
The NextGen Pos Domain model Register Item Store Sal Sales Cashier Customer Lineltem Manager Product Payment Product Catalog Specification
The NextGen POS Domain Model
几个准则 口敏捷建模:绘制类的草图 口敏捷建模:是否需要工具维护模型? 口报表或票据是否是系统领域模型的元素? 口使用领域术语
几个准则 敏捷建模:绘制类的草图 敏捷建模:是否需要工具维护模型? 报表或票据是否是系统领域模型的元素? 使用领域术语