酒店客房管理系统--概要设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

软件工程课程

大作业

概要设计规格说明书

项目组长_吴灏学号0123734 专业软件工程班级_125 班成员__李东玲万勇平_实验项目名称_酒店客房管理系统

指导教师及职称_段喜龙_讲师_开课学期2013至2014学年第1学期

目录

1 引言 (2)

1.1编写目的 (2)

1.2 背景 (2)

1.3 定义 (2)

1.4 参考资料 (2)

2 结构设计 (2)

2.1 概念设计 (2)

2.2 逻辑结构设计 (5)

2.2.1 静态字典及基本资料 (5)

3 运用设计 (7)

3.1 数据字典设计 (7)

3.2 安全保密设计 (8)

4 功能实现 (8)

4.1 界面设计 (8)

4.2 算法、业务流程设计 (8)

4.2.1 客户网上预约活动图 (9)

4.2.2 结账活动图 (10)

4.2.3 客户网上预约顺序图 (11)

4.2.4 结账顺序图 (12)

1 引言

1.1编写目的

<<酒店客房管理系统>>1.0数据库设计说明书是专门为程序开发人、数据库设计人员和软件测试人员编写的,其目的是方便数据库设计人员设计数据库、程序设计人员编制应用程序、测试人员测试程序并判断数据的正确性。该说明书的读者为系统分析人员、程序员、测试人员。

1.2 背景

说明:

a.〈〈酒店客房管理系统〉〉1.0版

b. 任务提出者:江西财经大学

开发者:江西财经大学软通学院<<酒店客房管理系统>>小组成员

用户:全国中小型酒店。

1.3 定义

在所有的明细表中的客户预约编码取自订单编码。

1.4 参考资料

《软件工程概论》

2 结构设计

2.1 概念设计

<<酒店客房管理系统>>1.0数据库涉及的实体包括客户、客房、员工等。它们之间的关系可用下面简单的E-R图来表示

2.2 逻辑结构设计

2.2.1 静态字典及基本资料

(1)客户信息Customer

客户身份证号customerId char(30) not null 客户姓名customerName char(50) not null 客户性别customerSex char(3) not null 客户联系方式customerPhone char(15) not null 是否为会员isVip boolean not null 会员账号vipAccount char(10) not null 会员密码vipPassword char(10) not null

主键:customerId

(2)客户预订信息Reservation

客户预订编号reNumber char(8) not null 客户身份证号reCustomerId char(30) not null 客户联系方式reCustomerPhone char(15) not null 客户预订房间reRoomNumber char(5) not null 预约入住时间reStartDate char(12) not null 预约退房时间reEedDate char(12) not null

主键:reNumber

(3)客户入住信息Occupancy

客户编号occupancyNumber char(8) not null 客户身份证号occupancyCustomerId char(30) not null 客户联系方式occupancyCustomerPhone char(15) not null 客户入住房间occupancyRoomNumber char(5) not null 客户所交押金deposit double not null 客户入住时间occupancyStartDate char(12) not null 客户退房时间occupancyEedDate char(12) not null 支付类型payType char(5) not null 结账金额finalPay double not null 入住客房描述occupancyDescribe char(30) not null

主键:occupancyNumber

(4)客房信息HotelRoom

客房编号roomNumber char(5) not null 客房类型roomType char(10) not null 客房价格roomPrice double not null 客房VIP价格roomVipPrice double not null 客房状态roomState char(2) not null 客房描述roomDescribe char(30) not null

主键:roomNumber

(5)客房类型信息RoomType

类型名称typeName char(5) not null 客房面积typeArea double not null 客床类型bedType char(5) not null 客床数量bedNumber int(4) not null 是否有电视isTv boolean not null 是否有空调isAirCondition boolean not null 是否有无线网isWifi boolean not null 是否有电脑isComputer boolean not null 类型描述typeDescribe char(30) not null

主键:typeName

(6)员工信息Worker

员工编号workerNumber char(8) not null

员工身份证号workerId char(30) not null

员工姓名workerName char(5) not null

员工性别workerSex char(2) not null

员工职务workerPosition char(5) not null

员工工资workerSalary double not null

工作时间workTime char(8) not null

工作描述workDescribe char(30) not null

主键:workerNumber

(7)酒店管理信息ManageHotel

客户信息customer Customer not null

支付类型payType char(5) not null

结账金额price double not null

会员价vipPrice double not null

主键:customer

(8)订单信息Order

订单编号orderNumber char(8) not null

订单金额price double not null

订单时间date char(8) not null

订单描述orderDescribe char(30) not null

主键:orderNumber

3 运用设计

3.1 数据字典设计

对数据库设计中涉及到的各种项目,如数据项、记录、系、文卷、模式、子模式一般要建立起数据字典,以说明它们的标识符、同义及有关信息,在本节中要说明对此数据字。共设计的基本考虑。

相关文档
最新文档