+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_jsh_supplier:/tablelist/okayapi_jsh_supplier.html


-- MySQL Table okayapi_jsh_supplier
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_supplier` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `supplier` varchar(255) NULL COMMENT '供应商名称',
    `contacts` varchar(100) NULL COMMENT '联系人',
    `phonenum` varchar(30) NULL COMMENT '联系电话',
    `email` varchar(50) NULL COMMENT '电子邮箱',
    `description` varchar(500) NULL COMMENT '备注',
    `isystem` tinyint(4) NULL COMMENT '是否系统自带 0==系统 1==非系统',
    `type` varchar(20) NULL COMMENT '类型',
    `enabled` bit(1) NULL COMMENT '启用',
    `AdvanceIn` decimal(24,6) NULL DEFAULT '0.000000' COMMENT '预收款',
    `BeginNeedGet` decimal(24,6) NULL COMMENT '期初应收',
    `BeginNeedPay` decimal(24,6) NULL COMMENT '期初应付',
    `AllNeedGet` decimal(24,6) NULL COMMENT '累计应收',
    `AllNeedPay` decimal(24,6) NULL COMMENT '累计应付',
    `fax` varchar(30) NULL COMMENT '传真',
    `telephone` varchar(30) NULL COMMENT '手机',
    `address` varchar(50) NULL COMMENT '地址',
    `taxNum` varchar(50) NULL COMMENT '纳税人识别号',
    `bankName` varchar(50) NULL COMMENT '开户行',
    `accountNumber` varchar(50) NULL COMMENT '账号',
    `taxRate` decimal(24,6) NULL COMMENT '税率',
    `tenant_id` bigint(20) NULL COMMENT '租户id',
    `delete_Flag` varchar(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
    KEY `supplier` (`supplier`),
    KEY `contacts` (`contacts`),
    KEY `phonenum` (`phonenum`),
    KEY `email` (`email`),
    KEY `description` (`description`),
    KEY `isystem` (`isystem`),
    KEY `type` (`type`),
    KEY `enabled` (`enabled`),
    KEY `AdvanceIn` (`AdvanceIn`),
    KEY `BeginNeedGet` (`BeginNeedGet`),
    KEY `BeginNeedPay` (`BeginNeedPay`),
    KEY `AllNeedGet` (`AllNeedGet`),
    KEY `AllNeedPay` (`AllNeedPay`),
    KEY `fax` (`fax`),
    KEY `telephone` (`telephone`),
    KEY `address` (`address`),
    KEY `taxNum` (`taxNum`),
    KEY `bankName` (`bankName`),
    KEY `accountNumber` (`accountNumber`),
    KEY `taxRate` (`taxRate`),
    KEY `tenant_id` (`tenant_id`),
    KEY `delete_Flag` (`delete_Flag`),
    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-22 of 22 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
suppliervarchar(255)供应商名称
contactsvarchar(100)联系人
phonenumvarchar(30)联系电话
emailvarchar(50)电子邮箱
descriptionvarchar(500)备注
isystemtinyint(4)是否系统自带 0==系统 1==非系统
typevarchar(20)类型
enabledbit(1)启用
AdvanceIndecimal(24,6)0.000000预收款0.000000
BeginNeedGetdecimal(24,6)期初应收
BeginNeedPaydecimal(24,6)期初应付
AllNeedGetdecimal(24,6)累计应收
AllNeedPaydecimal(24,6)累计应付
faxvarchar(30)传真
telephonevarchar(30)手机
addressvarchar(50)地址
taxNumvarchar(50)纳税人识别号
bankNamevarchar(50)开户行
accountNumbervarchar(50)账号
taxRatedecimal(24,6)税率
tenant_idbigint(20)租户id
delete_Flagvarchar(1)0删除标记,0未删除,1删除0

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 ↑