Skip to content

A management system for large hotel company built on software practice course design.

Notifications You must be signed in to change notification settings

YuweiHuang/HotelMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Management System 宾馆管理系统

This is a management system for large hotel company built on software practice course design. We use well-known MVC framework and develop the system based on PHP5.

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

INSTALLATION

Clone

Add my repository as master and git fetch to your local repository.

If you fetch my data successfully, you will see our index page when you visit "localhost\hotelms" on your laptop.

DIRECTORY STRUCTURE

  assets/            资源文件
    css/             样式
    fonts/           小图标
    img/             图片
    js/              javasctipt
  commons/           公共配置文件
    dbConnect.php    数据库连接配置
  controlers/        路由控制
    adminAction/     管理员操作
    userAction/      会员操作
  models/            数据模型
    dao/             数据库操作
    entity/          实体
    service/         业务实现
  tests/             测试文件
    dao/             数据库操作测试
    entity/          实体测试
    service/         业务实现测试
  views/             视图文件
    admin/           管理员视图
    user/            会员视图
  index.php          入口文件

CORPORATION

Jobs

Architechture, Management

  • Yuwei Huang

Views

  • Wei Wei
  • Dao Zhou
  • Yuwei Huang

Models

  • Yuwei Huang
  • Xinyu Zhao

Logic Controler

  • Dao Zhou
  • Wei Wei
  • Yuwei Huang

Design Details

Database Design(Yuwei Huang)

数据库表设计实现

  • bill 订单信息表
  • customer 住客信息表
  • membertype 会员类型表
  • roominfo 房间信息表
  • roomtype 房间类型表
  • userinfo 用户信息表

测试数据

View Design(Wei Wei, Dao Zhou)

2018.1.3~2018.1.5

会员视角:

  • 登录/login
  • 注册/register
  • 主页/index
  • 浏览房型/roomList
  • 搜索房型 /roomList
  • 预定房型(默认支付)跳转/customerInfo 登记住客信息
  • 查看订单 /bill
  • 评价订单 /bill
  • 个人信息管理(改)/profile

管理员视角:

  • 普通管理员/超级管理员:
  • 管理员登录页面: /adminLogin
  • 管理员主页: /adminIndex 导航栏选择功能
  • 增删查改 会员信息: /adminUser
  • 增删查改 房型: /adminRoom
  • 增删查改 管理员: /adminAdmin (超级管理员)
  • 增删查改 住客信息 /adminCustomer

Models(Yuwei, Xinyu)

Entity(Yuwei)

  • 订单bill
  • 会员user
  • 会员类型 membertype
  • 普通管理员admin
  • 房间room
  • 房型roomtype
  • 住客customer

EntityTest(Xinyu) 在1.4完成

  • 订单bill
  • 会员user
  • 会员类型 membertype
  • 普通管理员admin
  • 房间room
  • 房型roomtype
  • 住客customer

dbConnect(Yuwei)

  • build
  • test

DAO(Yuwei) 在1.5号24:00前完成

  • billDAO 8
  • customerDAO 12
  • membertypeDAO 3

DAOTest(Yuwei) 在1.6号24:00前完成

  • billDAO 8
  • customerDAO 12
  • membertypeDAO 3

DAO(Xinyu) 在1.5号24:00前完成

  • roomDAO 6
  • roomtypeDAO 5
  • useDAO 9

Services

前三类业务1.7 24:00前完成

  • 功能型业务

    • (会员)浏览房型:显示每个房型剩余多少个房间
    • (会员)预定房型:在预定时生成订单,并把对应的房型的一个房间设置入住时间,登记住客信息
    • (管理员)入住登记确认:核对住客信息,或者更新住客信息
    • (会员)查看订单:列出所有订单
    • (会员)评价订单:对订单评分和写评语
  • 用户型业务

    • (会员) 注册:填写account,password
    • (会员/管理员/超级管理员) 登录
    • (会员/管理员) 修改个人信息,管理员可以修改用户信息
    • (超级管理员) 操作会员/管理员信息(增删查改admin,user)
  • 产品型业务

    • (管理员/超级管理员) 对房型操作
    • (管理员/超级管理员) 对房间信息操作
    • (管理员/超级管理员) 对会员类型操作(修改会员晋升策略等)
  • 统计型业务(所有工作完成后再执行)

    • (会员) 最热房型,最新预定
    • (管理员/超级管理员) 会员类型统计,年龄统计,性别统计,积分统计

About

A management system for large hotel company built on software practice course design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •