架构师训练营 W01 作业
作业一:食堂就餐卡系统设计
系统中每个消费者都有一张卡,在管理中心注册缴费,卡内记着消费者的身份、余额。
使用时将卡插入收款机则显示卡上金额,服务员按收款机上数字键,收款机自动计算并显示消费额及余额。
管理中心的管理员监视每一笔消费,可打印出消费情况的相关统计数据。
请设计系统用例图,组件图,组件时序图,部署图。
用例图:

组件图:

组件时序图:

部署图:

版权声明: 本文为 InfoQ 作者【Geek_f06ede】的原创文章。
原文链接:【http://xie.infoq.cn/article/795080479d501ba2baf74cf6e】。未经作者许可,禁止转载。
评论