+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_dberp_goods:/tablelist/okayapi_dberp_goods.html


-- MySQL Table okayapi_dberp_goods
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_goods` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `goods_category_id` int(11) NOT NULL COMMENT '',
    `brand_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `goods_name` varchar(100) NOT NULL COMMENT '',
    `goods_stock` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `goods_spec` varchar(100) NOT NULL COMMENT '',
    `goods_number` varchar(30) NOT NULL COMMENT '',
    `unit_id` int(11) NOT NULL COMMENT '',
    `goods_barcode` varchar(30) NOT NULL COMMENT '',
    `goods_info` varchar(500) NOT NULL COMMENT '',
    `goods_sort` int(11) NOT NULL DEFAULT '255' COMMENT '',
    `goods_price` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `admin_id` int(11) NOT NULL COMMENT '',
    `goods_recommend_price` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    KEY `goods_category_id` (`goods_category_id`),
    KEY `brand_id` (`brand_id`),
    KEY `goods_name` (`goods_name`),
    KEY `goods_stock` (`goods_stock`),
    KEY `goods_spec` (`goods_spec`),
    KEY `goods_number` (`goods_number`),
    KEY `unit_id` (`unit_id`),
    KEY `goods_barcode` (`goods_barcode`),
    KEY `goods_info` (`goods_info`),
    KEY `goods_sort` (`goods_sort`),
    KEY `goods_price` (`goods_price`),
    KEY `admin_id` (`admin_id`),
    KEY `goods_recommend_price` (`goods_recommend_price`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'DBErp进销存-基础商品表';

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
goods_category_idint(11)
brand_idint(11)00
goods_namevarchar(100)
goods_stockint(11)00
goods_specvarchar(100)
goods_numbervarchar(30)
unit_idint(11)
goods_barcodevarchar(30)
goods_infovarchar(500)
goods_sortint(11)255255
goods_pricedecimal(19,4)0.00000.0000
admin_idint(11)
goods_recommend_pricedecimal(19,4)0.00000.0000

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 ↑