+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_jsh_serial_number:/tablelist/okayapi_jsh_serial_number.html


-- MySQL Table okayapi_jsh_serial_number
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_serial_number` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `material_Id` bigint(20) NULL COMMENT '产品表id',
    `serial_Number` varchar(64) NULL COMMENT '序列号',
    `is_Sell` varchar(1) NULL DEFAULT '0' COMMENT '是否卖出,0未卖出,1卖出',
    `remark` varchar(1024) NULL COMMENT '备注',
    `delete_Flag` varchar(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
    `creator` bigint(20) NULL COMMENT '创建人',
    `updater` bigint(20) NULL COMMENT '更新人',
    `depothead_Id` bigint(20) NULL COMMENT '单据主表id,用于跟踪序列号流向',
    `tenant_id` bigint(20) NULL COMMENT '租户id',
    KEY `material_Id` (`material_Id`),
    KEY `serial_Number` (`serial_Number`),
    KEY `is_Sell` (`is_Sell`),
    KEY `remark` (`remark`),
    KEY `delete_Flag` (`delete_Flag`),
    KEY `creator` (`creator`),
    KEY `updater` (`updater`),
    KEY `depothead_Id` (`depothead_Id`),
    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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
material_Idbigint(20)产品表id
serial_Numbervarchar(64)序列号
is_Sellvarchar(1)0是否卖出,0未卖出,1卖出0
remarkvarchar(1024)备注
delete_Flagvarchar(1)0删除标记,0未删除,1删除0
creatorbigint(20)创建人
updaterbigint(20)更新人
depothead_Idbigint(20)单据主表id,用于跟踪序列号流向
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 ↑