1 Star 40 Fork 6

王小二/基于SpringBoot+Vue的酒店管理系统Hotel_Manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hotel.sql 8.36 KB
一键复制 编辑 原始数据 按行查看 历史
王小二 提交于 2023-12-24 20:47 . 酒店管理系统
/*
Navicat Premium Data Transfer
Source Server : 本机Mysql
Source Server Type : MySQL
Source Server Version : 80035
Source Host : localhost:3306
Source Schema : hotel
Target Server Type : MySQL
Target Server Version : 80035
File Encoding : 65001
Date: 23/12/2023 23:29:32
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for b_classification
-- ----------------------------
DROP TABLE IF EXISTS `b_classification`;
CREATE TABLE `b_classification` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`create_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_classification
-- ----------------------------
INSERT INTO `b_classification` VALUES (1, '大床房', '2023-12-23 11:01:30');
INSERT INTO `b_classification` VALUES (2, '双床房', '2023-12-23 11:51:18');
-- ----------------------------
-- Table structure for b_guest
-- ----------------------------
DROP TABLE IF EXISTS `b_guest`;
CREATE TABLE `b_guest` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`sex` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`phone` bigint NOT NULL,
`enterTime` datetime(6) NULL DEFAULT NULL,
`num` int NOT NULL,
`h_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `num`(`num` ASC) USING BTREE,
INDEX `h_type`(`h_type`(10) ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of b_guest
-- ----------------------------
INSERT INTO `b_guest` VALUES (1, '李斯', '男', 3217864523, '2023-12-23 18:35:21.870591', 207, '1');
INSERT INTO `b_guest` VALUES (2, '王惕若', '女', 51513213, '2023-12-23 18:35:21.870591', 201, '2');
INSERT INTO `b_guest` VALUES (3, '其覅', '男', 87656212, '2023-12-23 18:35:21.870591', 304, '1');
INSERT INTO `b_guest` VALUES (10, '奥奥', '男', 32178645231, '2023-12-23 23:03:40.257830', 209, '2');
-- ----------------------------
-- Table structure for b_home
-- ----------------------------
DROP TABLE IF EXISTS `b_home`;
CREATE TABLE `b_home` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '房间管理信息表',
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`price` decimal(10, 2) NULL DEFAULT NULL,
`windows` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`sheshi` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_home
-- ----------------------------
INSERT INTO `b_home` VALUES (1, '306', '1', 198.00, '有', '设施齐全', '0');
INSERT INTO `b_home` VALUES (2, '207', '2', 99.00, '无', '设施齐全', '1');
INSERT INTO `b_home` VALUES (3, '201', '1', 109.00, '无', '设施齐全', '1');
INSERT INTO `b_home` VALUES (4, '304', '2', 99.00, '无', '设施齐全', '1');
INSERT INTO `b_home` VALUES (5, '666', '1', 666.00, '有', '豪华设施', '0');
-- ----------------------------
-- Table structure for b_order
-- ----------------------------
DROP TABLE IF EXISTS `b_order`;
CREATE TABLE `b_order` (
`id` int NOT NULL AUTO_INCREMENT,
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`order_time` datetime NULL DEFAULT NULL,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`price` decimal(10, 2) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_order
-- ----------------------------
INSERT INTO `b_order` VALUES (1, '2', '2023-12-23 10:34:37', '李斯', '207', 99.00);
INSERT INTO `b_order` VALUES (2, '2', '2023-12-23 10:34:37', '王惕若', '201', 109.00);
INSERT INTO `b_order` VALUES (3, '2', '2023-12-23 20:20:08', '其覅', '304', 99.00);
-- ----------------------------
-- Table structure for b_tag
-- ----------------------------
DROP TABLE IF EXISTS `b_tag`;
CREATE TABLE `b_tag` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`create_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_tag
-- ----------------------------
INSERT INTO `b_tag` VALUES (1, '大床房', '2023-12-23 11:00:25');
-- ----------------------------
-- Table structure for b_thing_tag
-- ----------------------------
DROP TABLE IF EXISTS `b_thing_tag`;
CREATE TABLE `b_thing_tag` (
`id` int NOT NULL AUTO_INCREMENT,
`thing_id` int NULL DEFAULT NULL,
`tag_id` int NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_thing_tag
-- ----------------------------
INSERT INTO `b_thing_tag` VALUES (9, 1, 1);
-- ----------------------------
-- Table structure for b_user
-- ----------------------------
DROP TABLE IF EXISTS `b_user`;
CREATE TABLE `b_user` (
`id` bigint NOT NULL AUTO_INCREMENT,
`username` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '用户名',
`password` int NOT NULL COMMENT '密码',
`nickname` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
`mobile` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
`role` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '0表示正常,非0表示封号',
`create_time` datetime NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of b_user
-- ----------------------------
INSERT INTO `b_user` VALUES (1, 'admin', 123123, '昵称11', '18222222', 'baidu@qq.com', '3', '1', '2023-12-22 21:35:55', NULL);
-- ----------------------------
-- Table structure for b_vip
-- ----------------------------
DROP TABLE IF EXISTS `b_vip`;
CREATE TABLE `b_vip` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`card` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`v_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '0普通会员,1超级会员',
`start_time` date NULL DEFAULT NULL,
`end_time` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of b_vip
-- ----------------------------
INSERT INTO `b_vip` VALUES (1, '李斯', '男', '2', '3217864523', '0', '2023-12-23', '2024-01-23');
INSERT INTO `b_vip` VALUES (2, '李斯1', '男', '222222', '11111111', '1', '2023-12-12', '2024-12-12');
INSERT INTO `b_vip` VALUES (3, '李斯1', '男', '222222', '11111111', NULL, '2023-12-12', '2024-12-12');
SET FOREIGN_KEY_CHECKS = 1;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhong-li-wang/hotel_-manager.git
git@gitee.com:zhong-li-wang/hotel_-manager.git
zhong-li-wang
hotel_-manager
基于SpringBoot+Vue的酒店管理系统Hotel_Manager
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385