基于ASP.NET MVC 技术的某酒店房间管理系统的设计与实现
摘要:该软件采用ASP.NET应用开发技术,具有一些客房查询、入住、退房等功能,尤其依靠ASP.NET的优点来为酒店更好的进行管理,稳定性,可扩展性,安全性,健壮性,都是该酒店管理的优势所在。数据库采用的 SQL Server 2008,SQL SERVER是大数据库,它也属于中型数据库,应用于中小型企业。SQL SERVER的分布式、复制、全文检索、DTS都可以满足中型的应用。所以使用SQL SERVER作为酒店管理系统的数据库再合适不过。系统基于C/S架构,以C#语言并使用Microsoft Visual Studio 2010平台和SQL Server 2008数据库;实现了酒店管理的客房管理、员工管理、财务管理、前台管理以及相关的资料的管理,并经过在本机Win7系统上运行测试可以很好的应用。本文档很好的介绍了系统分析、数据流程分析、功能设计、数据库设计、系统实现和系统测试等内容。
关键字:酒店管理系统,SQL Server 2008,Microsoft Visual Studio 2010,C/S架构。
Abstract:The software uses ASP.NET application development technology, with some rooms, check-in, check-out and query function, especially on the advantages of ASP.NET for hotel and better management, stability, scalability, security, robustness, is the hotel management advantage. Database using SQL Server 2008, SQL SERVER is a large database, it also belongs to the medium-sized database, applicable to small and medium enterprises. SQL SERVER distributed, copied, full-text retrieval, DTS can meet medium application. So the use of SQL SERVER as a hotel management system database t.The system is based on C / S architecture, C Microsoft Visual # language and using Studio2010 platform and SQL Server 2008 database; the hotel management hotel management, staff management, financial management, medicine management and information management, and through this machine Win7system running test can be a very good application. This document is a very good introduction of the system analysis, data flow analysis, functional design, database design, system realization and system test etc..
Keywords: hotel management system, SQL Server 2008, Microsoft Visual Studio 2010, C / S structure.
第一章 绪 论…………………………………………………………………………………………………… 1
1.1 系统开发背景……………………………………………………………………………………….. 1
1.2 课题研究目的及意义…………………………………………………………………………….. 3
1.3 国内外现状及发展动态…………………………………………………………………………. 3
1.4 系统开发工具及相关技术……………………………………………………………………… 4
1.4.1 系统开发工具……………………………………………………………………………… 4
1.4.2 数据库开发工具………………………………………………………………………….. 4
1.4.3 C#开发语言介绍…………………………………………………………………………… 5
第二章 系统分析……………………………………………………………………………………………….. 8
2.1 需求分析………………………………………………………………………………………………. 8
2.1.1 系统的主要功能………………………………………………………………………….. 8
2.1.2 系统的实现目标………………………………………………………………………….. 8
2.1.3 系统的性能需求………………………………………………………………………….. 8
2.1.4 运行环境…………………………………………………………………………………….. 9
2.2 可行性分析…………………………………………………………………………………………. 10
2.3 数据需求分析………………………………………………………………………………………. 11
2.4 数据字典…………………………………………………………………………………………….. 14
2.5 数据流图…………………………………………………………………………………………….. 15
第三章 系统设计……………………………………………………………………………………………… 16
3.1 系统功能结构设计………………………………………………………………………………. 16
3.2 数据库设计…………………………………………………………………………………………. 17
3.3 系统流程图…………………………………………………………………………………………. 22
第四章 系统详细设计与实现……………………………………………………………………………. 23
4.1 用户登录…………………………………………………………………………………………….. 23
4.2主界面…………………………………………………………………………………………………. 24
4.3客房管理……………………………………………………………………………………………… 25
4.3.1客房信息修改…………………………………………………………………………….. 26
4.3.2 入住管理…………………………………………………………………………………… 29
4.3.3 退租管理…………………………………………………………………………………… 34
4.3.4 客房类型管理……………………………………………………………………………. 36
4.4 员工管理…………………………………………………………………………………………….. 39
4.5 财务管理…………………………………………………………………………………………….. 45
4.6 酒店初始化…………………………………………………………………………………………. 47
4.7用户密码更改………………………………………………………………………………………. 49
第五章 系统测试……………………………………………………………………………………………… 53
5.1测试的作用和意义……………………………………………………………………………….. 53
5.2测试方法……………………………………………………………………………………………… 53
5.3系统测试……………………………………………………………………………………………… 54
参考文献………………………………………………………………………………………………………….. 58
致谢…………………………………………………………………………………………………………………. 59
附录 源代码…………………………………………………………………………………………………….. 60