├── hotelManagement_db ├── jar │ └── mysql.jar ├── picture │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 666.png │ ├── Male.gif │ ├── login.gif │ ├── reset.gif │ ├── Female.gif │ └── submit.gif ├── bin │ ├── dao │ │ ├── AdminDao.class │ │ ├── RoomsDao.class │ │ └── UsersDao.class │ ├── entity │ │ ├── Rooms.class │ │ └── Users.class │ ├── gui │ │ ├── Pay_Gui.class │ │ ├── About_Gui.class │ │ ├── Index_Gui.class │ │ ├── Login_Gui.class │ │ ├── About_Gui$1.class │ │ ├── AddAdmins_Gui.class │ │ ├── AddRooms_Gui.class │ │ ├── Contact_Gui$1.class │ │ ├── Contact_Gui.class │ │ ├── FixPass_Gui$1.class │ │ ├── FixPass_Gui.class │ │ ├── GetPass_Gui$1.class │ │ ├── GetPass_Gui.class │ │ ├── Index_Gui$1.class │ │ ├── Index_Gui$2.class │ │ ├── Index_Gui$3.class │ │ ├── Index_Gui$4.class │ │ ├── Index_Gui$5.class │ │ ├── Index_Gui$6.class │ │ ├── Index_Gui$7.class │ │ ├── Index_Gui$8.class │ │ ├── Login_Gui$1.class │ │ ├── Login_Gui$2.class │ │ ├── Register_Gui.class │ │ ├── Replace_Gui$1.class │ │ ├── Replace_Gui.class │ │ ├── Tenement_Gui.class │ │ ├── Aboutadmin_Gui.class │ │ ├── AddAdmins_Gui$1.class │ │ ├── AddRooms_Gui$1.class │ │ ├── AddRooms_Gui$2.class │ │ ├── Indexadmin_Gui.class │ │ ├── ReduceRooms_Gui.class │ │ ├── ReduceUsers_Gui.class │ │ ├── Register_Gui$1.class │ │ ├── Register_Gui$2.class │ │ ├── Tenement_Gui$1.class │ │ ├── Tenement_Gui$2.class │ │ ├── Aboutadmin_Gui$1.class │ │ ├── Indexadmin_Gui$1.class │ │ ├── Indexadmin_Gui$2.class │ │ ├── Indexadmin_Gui$3.class │ │ ├── Indexadmin_Gui$4.class │ │ ├── Indexadmin_Gui$5.class │ │ ├── Indexadmin_Gui$6.class │ │ ├── ReduceRooms_Gui$1.class │ │ └── ReduceUsers_Gui$1.class │ └── daoimpl │ │ ├── AdminDaoImpl.class │ │ ├── RoomsDaoImpl.class │ │ └── UsersDaoImpl.class ├── src │ ├── entity │ │ ├── Rooms.java │ │ └── Users.java │ ├── gui │ │ ├── About_Gui.java │ │ ├── Index_Gui.java │ │ ├── Login_Gui.java │ │ ├── Pay_Gui.java │ │ ├── Contact_Gui.java │ │ ├── FixPass_Gui.java │ │ ├── GetPass_Gui.java │ │ ├── Replace_Gui.java │ │ ├── Aboutadmin_Gui.java │ │ ├── AddAdmins_Gui.java │ │ ├── AddRooms_Gui.java │ │ ├── Indexadmin_Gui.java │ │ ├── Register_Gui.java │ │ ├── Tenement_Gui.java │ │ ├── ReduceRooms_Gui.java │ │ └── ReduceUsers_Gui.java │ ├── daoimpl │ │ ├── AdminDaoImpl.java │ │ ├── RoomsDaoImpl.java │ │ └── UsersDaoImpl.java │ └── dao │ │ ├── UsersDao.java │ │ ├── AdminDao.java │ │ └── RoomsDao.java ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs └── sql │ └── hotel.sql ├── README.md └── LICENSE /hotelManagement_db/jar/mysql.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/jar/mysql.jar -------------------------------------------------------------------------------- /hotelManagement_db/picture/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/1.png -------------------------------------------------------------------------------- /hotelManagement_db/picture/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/2.png -------------------------------------------------------------------------------- /hotelManagement_db/picture/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/3.png -------------------------------------------------------------------------------- /hotelManagement_db/picture/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/4.png -------------------------------------------------------------------------------- /hotelManagement_db/picture/666.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/666.png -------------------------------------------------------------------------------- /hotelManagement_db/picture/Male.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/Male.gif -------------------------------------------------------------------------------- /hotelManagement_db/picture/login.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/login.gif -------------------------------------------------------------------------------- /hotelManagement_db/picture/reset.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/reset.gif -------------------------------------------------------------------------------- /hotelManagement_db/picture/Female.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/Female.gif -------------------------------------------------------------------------------- /hotelManagement_db/picture/submit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/picture/submit.gif -------------------------------------------------------------------------------- /hotelManagement_db/bin/dao/AdminDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/dao/AdminDao.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/dao/RoomsDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/dao/RoomsDao.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/dao/UsersDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/dao/UsersDao.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/entity/Rooms.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/entity/Rooms.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/entity/Users.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/entity/Users.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Pay_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Pay_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/src/entity/Rooms.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/entity/Rooms.java -------------------------------------------------------------------------------- /hotelManagement_db/src/entity/Users.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/entity/Users.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/About_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/About_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Index_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Index_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Login_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Login_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Pay_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Pay_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/About_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/About_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Login_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Login_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Contact_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Contact_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/FixPass_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/FixPass_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/GetPass_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/GetPass_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Replace_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Replace_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/About_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/About_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/AddAdmins_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/AddAdmins_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/AddRooms_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/AddRooms_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Contact_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Contact_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Contact_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Contact_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/FixPass_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/FixPass_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/FixPass_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/FixPass_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/GetPass_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/GetPass_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/GetPass_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/GetPass_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$3.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$4.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$5.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$6.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$7.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$7.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Index_Gui$8.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Index_Gui$8.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Login_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Login_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Login_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Login_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Register_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Register_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Replace_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Replace_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Replace_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Replace_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Tenement_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Tenement_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Aboutadmin_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Aboutadmin_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/AddAdmins_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/AddAdmins_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/AddRooms_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/AddRooms_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Indexadmin_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Indexadmin_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Register_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Register_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/Tenement_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/Tenement_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Aboutadmin_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Aboutadmin_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/AddAdmins_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/AddAdmins_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/AddRooms_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/AddRooms_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/AddRooms_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/AddRooms_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/ReduceRooms_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/ReduceRooms_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/ReduceUsers_Gui.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/ReduceUsers_Gui.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Register_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Register_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Register_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Register_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Tenement_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Tenement_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Tenement_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Tenement_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/src/daoimpl/AdminDaoImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/daoimpl/AdminDaoImpl.java -------------------------------------------------------------------------------- /hotelManagement_db/src/daoimpl/RoomsDaoImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/daoimpl/RoomsDaoImpl.java -------------------------------------------------------------------------------- /hotelManagement_db/src/daoimpl/UsersDaoImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/daoimpl/UsersDaoImpl.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/ReduceRooms_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/ReduceRooms_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/src/gui/ReduceUsers_Gui.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/src/gui/ReduceUsers_Gui.java -------------------------------------------------------------------------------- /hotelManagement_db/bin/daoimpl/AdminDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/daoimpl/AdminDaoImpl.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/daoimpl/RoomsDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/daoimpl/RoomsDaoImpl.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/daoimpl/UsersDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/daoimpl/UsersDaoImpl.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Aboutadmin_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Aboutadmin_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$2.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$3.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$4.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$5.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/Indexadmin_Gui$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/Indexadmin_Gui$6.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/ReduceRooms_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/ReduceRooms_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/bin/gui/ReduceUsers_Gui$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yub4by/hotel-room-management-system/HEAD/hotelManagement_db/bin/gui/ReduceUsers_Gui$1.class -------------------------------------------------------------------------------- /hotelManagement_db/src/dao/UsersDao.java: -------------------------------------------------------------------------------- 1 | package dao; 2 | 3 | import entity.Users; 4 | 5 | public interface UsersDao { 6 | public boolean login(Users user); 7 | public void register(Users user); 8 | public void fixPass(Users user); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /hotelManagement_db/src/dao/AdminDao.java: -------------------------------------------------------------------------------- 1 | package dao; 2 | 3 | import entity.Rooms; 4 | import entity.Users; 5 | 6 | public interface AdminDao { 7 | public boolean addRooms(Rooms room); 8 | public void reduceRooms(Rooms room); 9 | public boolean addAdmins(Users user); 10 | public void reduceUsers(Users user); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /hotelManagement_db/src/dao/RoomsDao.java: -------------------------------------------------------------------------------- 1 | package dao; 2 | 3 | import java.util.ArrayList; 4 | 5 | import javax.sound.sampled.Port.Info; 6 | 7 | import entity.Rooms; 8 | 9 | public interface RoomsDao { 10 | 11 | public int show(int number); 12 | public int getPass(int number); 13 | public void borrow(int number); 14 | public void replace(int number); 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /hotelManagement_db/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /hotelManagement_db/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | hotelManagement_db 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /hotelManagement_db/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.source=1.6 12 | -------------------------------------------------------------------------------- /hotelManagement_db/sql/hotel.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : localhost_3306 5 | Source Server Version : 50614 6 | Source Host : localhost:3306 7 | Source Database : hotel 8 | 9 | Target Server Type : MYSQL 10 | Target Server Version : 50614 11 | File Encoding : 65001 12 | 13 | Date: 2017-07-20 16:56:40 14 | */ 15 | 16 | SET FOREIGN_KEY_CHECKS=0; 17 | 18 | -- ---------------------------- 19 | -- Table structure for rooms 20 | -- ---------------------------- 21 | DROP TABLE IF EXISTS `rooms`; 22 | CREATE TABLE `rooms` ( 23 | `number` int(255) NOT NULL AUTO_INCREMENT, 24 | `roompass` int(255) NOT NULL, 25 | `price` int(255) NOT NULL, 26 | `style` varchar(255) NOT NULL, 27 | `status` varchar(255) NOT NULL DEFAULT '未订', 28 | PRIMARY KEY (`number`) 29 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; 30 | 31 | -- ---------------------------- 32 | -- Records of rooms 33 | -- ---------------------------- 34 | INSERT INTO `rooms` VALUES ('1', '111', '11', '大床房', '未订'); 35 | INSERT INTO `rooms` VALUES ('3', '333', '33', '双人间', '未订'); 36 | INSERT INTO `rooms` VALUES ('4', '444', '44', '豪华单人间', '未订'); 37 | INSERT INTO `rooms` VALUES ('5', '555', '55', '豪华大床房', '未订'); 38 | INSERT INTO `rooms` VALUES ('6', '666', '66', '豪华双人房', '未订'); 39 | INSERT INTO `rooms` VALUES ('7', '777', '77', '总统套房', '未订'); 40 | 41 | -- ---------------------------- 42 | -- Table structure for users 43 | -- ---------------------------- 44 | DROP TABLE IF EXISTS `users`; 45 | CREATE TABLE `users` ( 46 | `idnumber` varchar(255) NOT NULL, 47 | `name` varchar(255) NOT NULL, 48 | `password` varchar(255) NOT NULL, 49 | `tel` varchar(255) NOT NULL, 50 | PRIMARY KEY (`idnumber`) 51 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 52 | 53 | -- ---------------------------- 54 | -- Records of users 55 | -- ---------------------------- 56 | INSERT INTO `users` VALUES ('123', 'zhangsan', '123', '123'); 57 | INSERT INTO `users` VALUES ('123456', 'admin', 'admin', '123456'); 58 | INSERT INTO `users` VALUES ('456', 'lisi', '456', '456'); 59 | INSERT INTO `users` VALUES ('789', 'wangwu', '789', '789'); 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # hotel-room-management-system 2 | 酒店房间管理系统 3 | 4 | 5 | 6 | 7 | 8 | # 1. 项目概述 9 | 10 | 11 | 12 | 开发的酒店管理系统实施信息化酒店管理有登录、注册、预定房间、退房、付款等。本系统将大多数的工作任务集中在计算机上,不再需要花大量的精力去进行数据的添加、查找和统计等工作,提高了员工的工作效率。本系统使用后,不必增减酒店人员团的工作岗位及职工人数,没有人力成本的增加。我们以酒店管理业务系统为背景,通过分析现有的管理模式和已有的管理软件,建立起逻辑模型并构建出与之匹配的数据库,并通过详细设计、编码、测试等阶段完成软件结构和数据库的相应设计,完成对应的软件开发。 13 | 14 | 系统实现的功能如下: 15 | 16 | 1.登录和注册的相应功能; 17 | 18 | 2.房间的管理,包括房间状态的查询等; 19 | 20 | 3.入住人员的管理系统,包括个人信息,注册账户等; 21 | 22 | 4.房间的预订、入住、退房管理; 23 | 24 | 5.管理员对顾客和房间的管理权限等。 25 | 26 | 同时,为实现满足多种条件的系统统计分析功能,我们采取了图的形式呈现一些功能内容。 除此之外,我们对于系统设计过程的要求如下: 27 | 28 | 1.建立数据库,储存人员信息酒店房间信息。 29 | 30 | 2.编写酒店管理系统,要求有功能模块的实现,如:登陆、注册、订房退房等。 31 | 32 | 3.能够连续准确处理业务,有较强容错能力。 33 | 34 | 4.目标系统功能大多齐全,能够满足业务需求且系统易于修改、易于扩充、易于维护,能够适应业务不断发展变化的需要。 35 | 36 | 5.对于信息的安全保密,保证系统数据存储和存取的安全、数据传输的安全,能够做好使用人员的授权管理。 37 | 38 | # 2. 需求分析 39 | 40 | 需求分析是从客户的需求中提取出软件系统能够帮助用户解决的业务问题,通过对用户业务问题的分析,规划出系统的功能模块,即定义用例。这个步骤是对理解需求的升华,直接关系到该系统的质量。此系统的最终用户为酒店管理员和酒店的客户。通过我们对日常生活中的经验并且结合对自己在酒店的住宿经历和经验和互相商量与讨论对,得出用户的下列实际要求: 41 | 酒店的基本情况: 42 | 43 | 个人信息分析:每个用户都有自己的基本信息和登陆系统的账户密码,没有的可以注册。住宿时,每位用户都有唯一的用户名和密码,并住宿到指定的固定的房间。用户还应该有电话号和身份证号,来确定其信息并以此来订房间。 44 | 45 | 管理员分析:管理员可以移除用户和设置普通用户为管理员。信息要求:酒店经理能查询上面提到的该酒店的所有相关信息,包括某用户的信息在酒店中住宿的详细信息,以利于对整个酒店的全面管理。客户信息也应该可以保存并查看该客户的订房情况。 46 | 47 | 订房分析:客人登录系统后可以预订房间及住的天数,缴纳金额,之后可以凭借有效身份证明入住。 48 | 49 | 客人查询分析:客人查询可以按照客人的姓名及身份证号或房间号查询在住的客人的基本信息及订房信息。 50 | 51 | 房间信息分析:房间信息包括房间房间的类型及基本信息管理。每间房间都有唯一的房间号,住宿时,每间房间会有房间密码,相应地就有酒店的门牌密 52 | 每个房间应该有,还有住宿时间,起始时间和结束退房的时间。 53 | 还要有该房间的种类和其价格。 54 | 55 | 酒店的房间数,剩余房间数和入住房间数,还有入住人所入住的房间号。 56 | 57 | 7.处理分析:当用户的基本信息发生变化时,酒店的管理员能对其进行修改。比如,当某个用户(顾客)因为房间的不适应搬到其他的房间中去,他们在本房间中相应的记录就应该删去;或者某个用户(顾客)要更改该用户的用户名和用户的密码时需要酒店的管理员对其进行更改等。当酒店的房间已经被定出去了应该显示该房间是已经使用状态。而没有使用的显示空余(未使用)。当房间使用完了就要将已使用的状态改为未使用的空余。 58 | 59 | # 3. 系统设计 60 | 61 | ![哇哈哈哈](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image002.png) 62 | 63 | 64 | 65 | 66 | 67 | # 4. 功能模块 68 | 69 | 70 | 71 | (各个模块的功能描述、输入项信息、输出项信息。) 72 | 73 | 用户登录:用户输入正确的账号密码才可登录,输入不正确则登录不上,输入正确后才可进入酒店管理系统,进行所需的操作,是整个系统操作聚集地,如预定,查询个人信息,退订房间等。 74 | 75 | 76 | 77 | ![image-20220521194939019](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/image-20220521194939019.png) 78 | 79 | 80 | 81 | 顾客信息管理:是主要针对用户所建立的功能模块,包括两个小功能模块: 82 | 83 | 1.已注册过的顾客可查询个人信息。输入项信息:用户名;输出项信息:用户身份证号,用户名,用户联系方式等 84 | 85 | 2.未注册的用户进行个人注册--输入项:用户身份证号,用户名,用户联系方式等。输出项:添加用户成功。 86 | 87 | 88 | 89 | ![2](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image004.png) 90 | 91 | 订房信息管理:是主要针对用户所建立的功能模块,包括两个小功能模块,1.订房;2.入住预订房间,实现房间的预订,房间信息录入数据库,以及预定之后到店入住的一系列流程。 92 | 93 | 订房--输入项信息:入住人姓名,入住人身份证号,入住日期,入住天数,离店日期,定金,预订房间类型。输出项信息:订房成功 94 | 95 | 入住预订房间--输入项信息:房费,入住人身份证号。输出项信息:成功入住房间 96 | 97 | ![3](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image006.png) 98 | 99 | 房间信息管理:是主要针对管理者所建立的功能模块,包括两个小功能模块:1.房间类型2.房间内物品。实现酒店对房间类型的查询,以及对房间物品的检查。 100 | 101 | 房间类型--输出项信息:大床房,双床房,总统套房等房间类型 102 | 103 | 房间内物品--输出项信息:方便面,水,饮料,纸巾等生活用品以及食品的数量查询 104 | 105 | 106 | 107 | ![image-20220521195021733](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/image-20220521195021733.png) 108 | 109 | 110 | 111 | 房间入住管理:是主要针对管理者所建立的功能模块,包括三个小功能模块:1.已入住房间2.退订房间3.剩余房间。实现管理者对入住房间信息的查询,对已入住房间退房从数据库中的删除,对未入住房间信息的查询。 112 | 113 | 已入住房间--输出项信息:入住人姓名,房间号,房间类型。 114 | 115 | 退订房间--输入项信息:入住人身份证号;输出项信息:入住天数,入住人,房间类型,归还定金。 116 | 117 | 剩余房间--输出项信息:房间号,房间类型。 118 | 119 | ![哇哈哈哈](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image010.png) 120 | 121 | 管理员权限:是主要针对管理者所建立的功能模块,包括两个小功能模块:1.移除用户2.设置普通成员为管理员。实现了用户的移除,从数据库中修改普通用户为管理。 122 | 123 | 移除用户--输入项信息:用户姓名 输出项信息:该用户姓名,身份证号,联系方式删除成功。 124 | 125 | 设置普通成员为管理员:输入项信息:用户名 输出项信息:该用户姓名,身份证号,联系方式成功设为管理。 126 | 127 | # 5. 详细设计 128 | 129 | 130 | 131 | 类的设计(用类图给出各个类的关系) 132 | 133 | **![2](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image012.jpg)** 134 | 135 | 136 | 137 | 138 | 139 | ![项目报告](https://cdn.jsdelivr.net/gh/yub4by/picgobase@main/img/clip_image002.jpg) -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | --------------------------------------------------------------------------------