+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_jsh_user:/tablelist/okayapi_jsh_user.html


-- MySQL Table okayapi_jsh_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_user` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `username` varchar(255) NULL COMMENT '用户姓名--例如张三',
    `loginame` varchar(255) NULL COMMENT '登录用户名--可能为空',
    `password` varchar(50) NULL COMMENT '登陆密码',
    `position` varchar(200) NULL COMMENT '职位',
    `department` varchar(255) NULL COMMENT '所属部门',
    `email` varchar(100) NULL COMMENT '电子邮箱',
    `phonenum` varchar(100) NULL COMMENT '手机号码',
    `ismanager` tinyint(4) NULL DEFAULT '1' COMMENT '是否为管理者 0==管理者 1==员工',
    `isystem` tinyint(4) NULL DEFAULT '0' COMMENT '是否系统自带数据 ',
    `Status` tinyint(4) NULL DEFAULT '0' COMMENT '状态,0:正常,1:删除,2封禁',
    `description` varchar(500) NULL COMMENT '用户描述信息',
    `remark` varchar(500) NULL COMMENT '备注',
    `tenant_id` bigint(20) NULL COMMENT '租户id',
    KEY `username` (`username`),
    KEY `loginame` (`loginame`),
    KEY `password` (`password`),
    KEY `position` (`position`),
    KEY `department` (`department`),
    KEY `email` (`email`),
    KEY `phonenum` (`phonenum`),
    KEY `ismanager` (`ismanager`),
    KEY `isystem` (`isystem`),
    KEY `Status` (`Status`),
    KEY `description` (`description`),
    KEY `remark` (`remark`),
    KEY `tenant_id` (`tenant_id`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ERP进销存-用户表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-13 of 13 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
usernamevarchar(255)用户姓名--例如张三
loginamevarchar(255)登录用户名--可能为空
passwordvarchar(50)登陆密码
positionvarchar(200)职位
departmentvarchar(255)所属部门
emailvarchar(100)电子邮箱
phonenumvarchar(100)手机号码
ismanagertinyint(4)1是否为管理者 0==管理者 1==员工1
isystemtinyint(4)0是否系统自带数据 0
Statustinyint(4)0状态,0:正常,1:删除,2封禁0
descriptionvarchar(500)用户描述信息
remarkvarchar(500)备注
tenant_idbigint(20)租户id

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_category

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_log

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_region

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

TOP ↑