数据库info.sql

/*
Navicat MySQL Data Transfer

Source Server         : loaderman
Source Server Version : 50540
Source Host           : localhost:3306
Source Database       : infos

Target Server Type    : MYSQL
Target Server Version : 50540
File Encoding         : 65001

Date: 2019-01-22 11:26:32
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for t_account
-- ----------------------------
DROP TABLE IF EXISTS `t_account`;
CREATE TABLE `t_account` (
  `id` int(4) NOT NULL AUTO_INCREMENT,
  `username` varchar(20) NOT NULL,
  `password` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for t_policy
-- ----------------------------
DROP TABLE IF EXISTS `t_policy`;
CREATE TABLE `t_policy` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `tel` varchar(100) NOT NULL,
  `policyID` varchar(100) NOT NULL,
  `policyName` varchar(100) NOT NULL,
  `orderTime` varchar(100) NOT NULL,
  `orderType` varchar(100) NOT NULL,
  `policyMoney` varchar(100) NOT NULL,
  `profitPercentage` varchar(100) DEFAULT NULL,
  `insuranceCoverage` varchar(255) DEFAULT NULL,
  `orderPayYears` varchar(255) DEFAULT NULL,
  `safeguardYear` varchar(255) DEFAULT NULL,
  `profitMoney` varchar(100) DEFAULT NULL,
  `remark` longtext,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for t_user
-- ----------------------------
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL COMMENT '姓名',
  `sex` varchar(100) DEFAULT NULL COMMENT '性别',
  `age` varchar(255) DEFAULT NULL,
  `telephone` varchar(100) NOT NULL COMMENT '电话',
  `grade` varchar(255) DEFAULT NULL,
  `idCard` varchar(100) DEFAULT NULL COMMENT '身份证',
  `address` varchar(200) DEFAULT NULL COMMENT '通讯地址',
  `weixin` varchar(100) DEFAULT NULL COMMENT '微信号',
  `qq` varchar(100) DEFAULT NULL COMMENT 'QQ号',
  `email` varchar(100) DEFAULT NULL COMMENT '邮箱',
  `area` varchar(255) DEFAULT NULL,
  `job` varchar(100) DEFAULT NULL COMMENT '职业',
  `remark` longtext COMMENT '备注',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;

 

posted on 2019-01-24 17:53  LoaderMan  阅读(637)  评论(0编辑  收藏  举报

导航