/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50728
Source Host : localhost:3306
Source Schema : hc
Target Server Type : MySQL
Target Server Version : 50728
File Encoding : 65001
Date: 26/08/2020 01:11:14
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for red_packet_info
-- ----------------------------
DROP TABLE IF EXISTS `red_packet_info`;
CREATE TABLE `red_packet_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`red_packet_id` bigint(11) NOT NULL DEFAULT '0' COMMENT '红包id,采⽤\ntimestamp+5位随机数',
`total_amount` int(11) NOT NULL DEFAULT '0' COMMENT '红包总⾦额,单位分',
`total_packet` int(11) NOT NULL DEFAULT '0' COMMENT '红包总个数',
`remaining_amount` int(11) NOT NULL DEFAULT '0' COMMENT '剩余红包⾦额,单位\n分',
`remaining_packet` int(11) NOT NULL DEFAULT '0' COMMENT '剩余红包个数',
`uid` int(20) NOT NULL DEFAULT '0' COMMENT '新建红包⽤户的⽤户标识',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='红包信息\n表,新建⼀个红包插⼊⼀条记录';
-- ----------------------------
-- Records of red_packet_info
-- ----------------------------
BEGIN;
INSERT INTO `red_packet_info` VALUES (8, 1598373426917, 20000, 10, 20000, 10, 10086, '2020-08-26 00:37:07', '2020-08-26 00:37:06');
COMMIT;
-- ----------------------------
-- Table structure for red_packet_record
-- ----------------------------
DROP TABLE IF EXISTS `red_packet_record`;
CREATE TABLE `red_packet_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL DEFAULT '0' COMMENT '抢到红包的⾦额',
`nick_name` varchar(32) NOT NULL DEFAULT '0' COMMENT '抢到红包的⽤户的⽤户\n名',
`img_url` varchar(255) NOT NULL DEFAULT '0' COMMENT '抢到红包的⽤户的头像',
`uid` int(20) NOT NULL DEFAULT '0' COMMENT '抢到红包⽤户的⽤户标识',
`red_packet_id` bigint(11) NOT NULL DEFAULT '0' COMMENT '红包id,采⽤\ntimestamp+5位随机数',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8mb4 COMMENT='抢红包记\n录表,抢⼀个红包插⼊⼀条记录';
-- ----------------------------
-- Records of red_packet_record
-- ----------------------------
BEGIN;
INSERT INTO `red_packet_record` VALUES (46, 464, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (47, 3704, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (48, 511, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (49, 4152, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (50, 168, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (51, 2116, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (52, 95, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (53, 1413, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (54, 5924, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
INSERT INTO `red_packet_record` VALUES (55, 1453, '陈彦斌', 'https://images.cnblogs.com/cnblogs_com/chenyanbin/1560326/o_qianxun.jpg', 10086, 1598373426917, '2020-08-26 00:47:14', '2020-08-26 00:47:13');
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
技术小羊
- 粉丝: 852
- 资源: 114
最新资源
- Java毕业设计-springboot-vue-工作量统计系统(源码+sql脚本+29页零基础部署图文详解+29页论文+环境工具+教程+视频+模板).zip
- Java毕业设计-springboot-vue-高校疫情防控web系统(源码+sql脚本+29页零基础部署图文详解+31页论文+环境工具+教程+视频+模板).zip
- 基于模型的六轴机器人阻抗控制算法演示与仿真参数设置指导(matlab simscape仿真机器人模型自定义切换,跟踪轨迹展示及算法学习),基于模型的六轴机器人阻抗力控制算法(matlab simsca
- Java毕业设计-springboot-vue-工资信息管理系统(源码+sql脚本+29页零基础部署图文详解+25页论文+环境工具+教程+视频+模板).zip
- 基于PaddlePaddle的眼疾识别项目(包含训练集、测试集、模型权重)
- Java毕业设计-springboot-vue-航班进出港管理系统(源码+sql脚本+29页零基础部署图文详解+29页论文+环境工具+教程+视频+模板).zip
- 基于ABAQUS、Opensees和Perform3d的结构易损性评估与IDA曲线绘制:matlab函数调用与地震波选波调幅实战指南,ABAQUS 、Opensees、Perform3d IDA曲线
- Java毕业设计-springboot-vue-果蔬作物疾病防治系统(源码+sql脚本+29页零基础部署图文详解+30页论文+环境工具+教程+视频+模板).zip
- Java毕业设计-springboot-vue-滑雪场管理系统(源码+sql脚本+29页零基础部署图文详解+27页论文+环境工具+教程+视频+模板).zip
- Java毕业设计-springboot-vue-家教管理系统(源码+sql脚本+29页零基础部署图文详解+32页论文+环境工具+教程+视频+模板).zip
- Java毕业设计-springboot-vue-驾校预约学习系统(源码+sql脚本+29页零基础部署图文详解+34页论文+环境工具+教程+视频+模板).zip
- 数据采集系统:下位机与上位机协同工作,高性能模数转换与灵活配置滤波功能,数据采集系统下位机与上位机代码 下位机采用开发板来完成 AD9226模数转芯片,最大65MHz采样,12bit量化 双通
- Java毕业设计-springboot-vue-集团门户网站(源码+sql脚本+29页零基础部署图文详解+33页论文+环境工具+教程+视频+模板).zip
- 蓝桥杯Java历年真题及其解析.docx
- Java毕业设计-springboot-vue-教师薪酬管理系统(源码+sql脚本+29页零基础部署图文详解+32页论文+环境工具+教程+视频+模板).zip
- Java毕业设计-springboot-vue-教学辅助系统(源码+sql脚本+29页零基础部署图文详解+31页论文+环境工具+教程+视频+模板).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈