Create your product data
TABLE `yz_goods` the CREATE ( ` id` BIGINT ( 20 is ) the NOT NULL the AUTO_INCREMENT the COMMENT ' data identifier ID', `create_time` timestamp the NOT NULL the DEFAULT CURRENT_TIMESTAMP the COMMENT ' data creation time', ` modify_time` timestamp the NOT NULL the DEFAULT CURRENT_TIMESTAMP the ON the UPDATE CURRENT_TIMESTAMP the COMMENT ' data modification time', `is_deleted` tinyint ( . 1 ) the NOT NULL the DEFAULT ' 0' the COMMENT 'if the data deleted', ` yz_barcode` VARCHAR ( 255 ) the DEFAULTThe COMMENT NULL ' product code', `yz_id` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' commodity ID', ` goods_name` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' Product Name', `origin_price` decimal ( 18 is , 2 ) the NOT NULL the COMMENT ' commodity price crossed ', `price` decimal ( 18 is , 2 ) the NOT NULL the COMMENT ' selling price ', ` item_no` VARCHAR ( 255 ) the DEFAULTThe COMMENT NULL ' merchant code', `pic_url` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' Product main image the URL', ` img_url` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' SKUs image the URL', `detail_url` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' details Photos and the URL of', `properties_name_json` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' product characteristics', ` tag_id` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' grouping the above mentioned id', `tag_name` VARCHAR (255) DEFAULT NULL COMMENT '分组名称', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;