81,092
社区成员
发帖
与我相关
我的任务
分享
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50130
Source Host : localhost:3306
Source Database : db_fuzhuang
Target Server Type : MYSQL
Target Server Version : 50130
File Encoding : 65001
Date: 2015-03-09 10:26:55
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `t_admin`
-- ----------------------------
DROP TABLE IF EXISTS `t_admin`;
CREATE TABLE `t_admin` (
`userId` int(11) NOT NULL,
`userName` varchar(50) DEFAULT NULL,
`userPw` varchar(50) DEFAULT NULL,
PRIMARY KEY (`userId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_admin
-- ----------------------------
-- ----------------------------
-- Table structure for `t_catelog`
-- ----------------------------
DROP TABLE IF EXISTS `t_catelog`;
CREATE TABLE `t_catelog` (
`catelog_id` int(11) NOT NULL,
`catelog_name` varchar(50) DEFAULT NULL,
`catelog_miaoshu` text,
`catelog_del` varchar(50) DEFAULT NULL,
PRIMARY KEY (`catelog_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_catelog
-- ----------------------------
-- ----------------------------
-- Table structure for `t_gonggao`
-- ----------------------------
DROP TABLE IF EXISTS `t_gonggao`;
CREATE TABLE `t_gonggao` (
`gonggao_id` int(11) NOT NULL,
`gonggao_title` varchar(50) DEFAULT NULL,
`gonggao_content` text,
`gonggao_data` varchar(50) DEFAULT NULL,
`gonggao_fabuzhe` varchar(255) DEFAULT NULL,
`gonggao_del` varchar(50) DEFAULT NULL,
`gonggao_one1` varchar(50) DEFAULT NULL,
`gonggao_one2` varchar(50) DEFAULT NULL,
`gonggao_one3` varchar(50) DEFAULT NULL,
`gonggao_one4` varchar(50) DEFAULT NULL,
`gonggao_one5` datetime DEFAULT NULL,
`gonggao_one6` datetime DEFAULT NULL,
`gonggao_one7` int(11) DEFAULT NULL,
`gonggao_one8` int(11) DEFAULT NULL,
PRIMARY KEY (`gonggao_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_gonggao
-- ----------------------------
-- ----------------------------
-- Table structure for `t_goods`
-- ----------------------------
DROP TABLE IF EXISTS `t_goods`;
CREATE TABLE `t_goods` (
`goods_id` int(11) NOT NULL,
`goods_name` varchar(50) DEFAULT NULL,
`goods_miaoshu` text,
`goods_pic` varchar(50) DEFAULT NULL,
`goods_yanse` varchar(50) DEFAULT NULL,
`goods_shichangjia` int(11) DEFAULT NULL,
`goods_tejia` int(11) DEFAULT NULL,
`goods_isnottejia` varchar(50) DEFAULT NULL,
`goods_isnottuijian` varchar(50) DEFAULT NULL,
`goods_catelog_id` int(11) DEFAULT NULL,
`goods_kucun` int(11) DEFAULT NULL,
`goods_Del` varchar(50) DEFAULT NULL,
PRIMARY KEY (`goods_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_goods
-- ----------------------------
-- ----------------------------
-- Table structure for `t_liuyan`
-- ----------------------------
DROP TABLE IF EXISTS `t_liuyan`;
CREATE TABLE `t_liuyan` (
`liuyan_id` int(11) NOT NULL,
`liuyan_title` varchar(50) DEFAULT NULL,
`liuyan_content` text,
`liuyan_date` varchar(50) DEFAULT NULL,
`liuyan_user` varchar(50) DEFAULT NULL,
PRIMARY KEY (`liuyan_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_liuyan
-- ----------------------------
-- ----------------------------
-- Table structure for `t_order`
-- ----------------------------
DROP TABLE IF EXISTS `t_order`;
CREATE TABLE `t_order` (
`order_id` int(11) NOT NULL,
`order_bianhao` varchar(50) DEFAULT NULL,
`order_date` varchar(50) DEFAULT NULL,
`order_zhuangtai` varchar(50) DEFAULT NULL,
`order_songhuodizhi` varchar(50) DEFAULT NULL,
`order_fukuangfangshi` varchar(50) DEFAULT NULL,
`order_jine` int(11) DEFAULT NULL,
`order_user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`order_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_order
-- ----------------------------
-- ----------------------------
-- Table structure for `t_orderitem`
-- ----------------------------
DROP TABLE IF EXISTS `t_orderitem`;
CREATE TABLE `t_orderitem` (
`orderItem_id` int(11) NOT NULL,
`order_id` int(11) DEFAULT NULL,
`goods_id` int(11) DEFAULT NULL,
`goods_quantity` int(11) DEFAULT NULL,
PRIMARY KEY (`orderItem_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_orderitem
-- ----------------------------
-- ----------------------------
-- Table structure for `t_user`
-- ----------------------------
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
`user_id` int(11) NOT NULL,
`user_name` varchar(50) DEFAULT NULL,
`user_pw` varchar(50) DEFAULT NULL,
`user_type` int(11) DEFAULT NULL,
`user_realname` varchar(50) DEFAULT NULL,
`user_address` varchar(50) DEFAULT NULL,
`user_sex` varchar(50) DEFAULT NULL,
`user_tel` varchar(50) DEFAULT NULL,
`user_email` varchar(50) DEFAULT NULL,
`user_qq` varchar(50) DEFAULT NULL,
`user_man` varchar(50) DEFAULT NULL,
`user_age` varchar(50) DEFAULT NULL,
`user_birthday` varchar(50) DEFAULT NULL,
`user_xueli` varchar(50) DEFAULT NULL,
`user_del` varchar(50) DEFAULT NULL,
`user_one1` varchar(50) DEFAULT NULL,
`user_one2` varchar(50) DEFAULT NULL,
`user_one3` varchar(50) DEFAULT NULL,
`user_one4` varchar(50) DEFAULT NULL,
`user_one5` varchar(50) DEFAULT NULL,
`user_one6` int(11) DEFAULT NULL,
`user_one7` int(11) DEFAULT NULL,
`user_one8` int(11) DEFAULT NULL,
`user_one9` datetime DEFAULT NULL,
`user_one10` datetime DEFAULT NULL,
`user_one11` bigint(20) DEFAULT NULL,
`user_one12` bigint(20) DEFAULT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_user
-- ----------------------------