SET FOREIGN_KEY_CHECKS=0;


-- ----------------------------
-- Table structure for `wst_order_goods`
-- ----------------------------
DROP TABLE IF EXISTS `wst_order_goods`;
CREATE TABLE `wst_order_goods` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `orderId` int(11) NOT NULL,
  `goodsId` int(11) NOT NULL,
  `goodsNums` int(11) NOT NULL DEFAULT '0',
  `goodsPrice` decimal(11,2) NOT NULL DEFAULT '0.00',
  `goodsAttrId` int(11) DEFAULT '0',
  `goodsAttrName` varchar(255) DEFAULT '',
  `goodsName` varchar(50) DEFAULT NULL,
  `goodsThums` varchar(150) DEFAULT NULL,
  `commission` int(11) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `goodsId` (`goodsId`),
  KEY `orderId` (`orderId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of wst_order_goods
-- ----------------------------