+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_jsh_organization:/tablelist/okayapi_jsh_organization.html


-- MySQL Table okayapi_jsh_organization
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_organization` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `org_no` varchar(20) NULL COMMENT '机构编号',
    `org_full_name` varchar(500) NULL COMMENT '机构全称',
    `org_abr` varchar(20) NULL COMMENT '机构简称',
    `org_tpcd` varchar(9) NULL COMMENT '机构类型',
    `org_stcd` char(1) NULL COMMENT '机构状态,1未营业、2正常营业、3暂停营业、4终止营业、5已除名',
    `org_parent_no` varchar(20) NULL COMMENT '机构父节点编号',
    `sort` varchar(20) NULL COMMENT '机构显示顺序',
    `remark` varchar(500) NULL COMMENT '备注',
    `create_time` datetime NULL COMMENT '创建时间',
    `creator` bigint(20) NULL COMMENT '创建人',
    `updater` bigint(20) NULL COMMENT '更新人',
    `org_create_time` datetime NULL COMMENT '机构创建时间',
    `org_stop_time` datetime NULL COMMENT '机构停运时间',
    `tenant_id` bigint(20) NULL COMMENT '租户id',
    KEY `org_no` (`org_no`),
    KEY `org_full_name` (`org_full_name`),
    KEY `org_abr` (`org_abr`),
    KEY `org_tpcd` (`org_tpcd`),
    KEY `org_stcd` (`org_stcd`),
    KEY `org_parent_no` (`org_parent_no`),
    KEY `sort` (`sort`),
    KEY `remark` (`remark`),
    KEY `create_time` (`create_time`),
    KEY `creator` (`creator`),
    KEY `updater` (`updater`),
    KEY `org_create_time` (`org_create_time`),
    KEY `org_stop_time` (`org_stop_time`),
    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-14 of 14 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
org_novarchar(20)机构编号
org_full_namevarchar(500)机构全称
org_abrvarchar(20)机构简称
org_tpcdvarchar(9)机构类型
org_stcdchar(1)机构状态,1未营业、2正常营业、3暂停营业、4终止营业、5已除名
org_parent_novarchar(20)机构父节点编号
sortvarchar(20)机构显示顺序
remarkvarchar(500)备注
create_timedatetime创建时间
creatorbigint(20)创建人
updaterbigint(20)更新人
org_create_timedatetime机构创建时间
org_stop_timedatetime机构停运时间
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 ↑