/*
 Navicat Premium Data Transfer

 Source Server         : ryx
 Source Server Type    : MariaDB
 Source Server Version : 100510
 Source Host           : localhost:3307
 Source Schema         : c5_labsci

 Target Server Type    : MariaDB
 Target Server Version : 100510
 File Encoding         : 65001

 Date: 26/01/2026 15:46:45
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for lab_user
-- ----------------------------
DROP TABLE IF EXISTS `lab_user`;
CREATE TABLE `lab_user`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `laborgid` bigint(20) NOT NULL COMMENT '所属机构,DB,lab_orgbase',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '姓名',
  `usertitle` int(11) NOT NULL COMMENT '头衔,CATA,usertitle',
  `education` int(11) NOT NULL COMMENT '学历,CATA,education',
  `sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '编号',
  `sex` int(11) NOT NULL COMMENT '性别,CATA,sex',
  `addtimes` bigint(20) NOT NULL COMMENT '加入日期,DATE,Y-m-d',
  `mobile` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '手机号,MSK,****',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '信箱',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT ',密码',
  `stpstatus` int(11) NOT NULL COMMENT '|状态|,CATA,stpstatus',
  `userlevel` int(11) NOT NULL COMMENT '|等级|,CATA,userlevel',
  `totalpnt` bigint(20) NOT NULL COMMENT '总积分|,INT',
  `dvotecnt` bigint(20) NOT NULL COMMENT '互动贡献|,INT,次',
  `trytime` int(11) NOT NULL DEFAULT 0 COMMENT ',密码重试次数',
  `logintimes` bigint(20) NOT NULL COMMENT '登录时间,DATE',
  `sid` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT ',授权码',
  `exptimes` bigint(20) NOT NULL COMMENT ',授权过期时间,DATE',
  `ip` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '#登录IP,IP',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '实验室成员' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of lab_user
-- ----------------------------

SET FOREIGN_KEY_CHECKS = 1;
