/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50540
 Source Host           : localhost:3306
 Source Schema         : ljcms20180906

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

 Date: 12/09/2018 14:02:11
*/

-- ----------------------------
-- Records of 8cms_category
-- ----------------------------
INSERT INTO `8cms_category` VALUES (100, 'user', '会员中心', '会员中心', 0, 0, 0, '', 1, 1000, 'user_center', '', '', '', '', '', '', '', '', '', 1, 0, 0, 0, 0, 1, '', 0, 0, 0, 'cn', 1);


-- ----------------------------
-- Table structure for oa_user
-- ----------------------------
DROP TABLE IF EXISTS `oa_user`;
CREATE TABLE `oa_user`  (
  `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  `emp_no` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `letter` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `password` char(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `dept_id` int(11) NOT NULL,
  `position_id` int(11) NOT NULL,
  `sex` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `birthday` date NULL DEFAULT NULL,
  `last_login_ip` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `login_count` int(8) NULL DEFAULT NULL,
  `pic` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `duty` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `office_tel` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `mobile_tel` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `create_time` int(11) UNSIGNED NOT NULL,
  `update_time` int(11) UNSIGNED NOT NULL,
  `is_del` tinyint(3) NOT NULL DEFAULT 0,
  `openid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `westatus` tinyint(3) NOT NULL DEFAULT 0,
  `init_pwd` tinyint(3) NULL DEFAULT NULL,
  `pay_pwd` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `last_login_time` int(11) NULL DEFAULT NULL,
  `nickname` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `account`(`emp_no`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of oa_user
-- ----------------------------
INSERT INTO `oa_user` VALUES (1, 'admin', '管理员', 'GLY', 'e10adc3949ba59abbe56e057f20f883e', 1, 5, 'female', '2013-09-19', '0.0.0.0', 48, 'data/attachment/kefu/201812/201812181227116156.jpg', '1665976568@qq.com', '', '5086-2222-2222', '15830307910', 1222907803, 1431500668, 0, '', 1, 1, '', 1546481140, '信息');

