-- 数据库大全:小程序商城-商品秒杀产品表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_eb_store_seckill` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`product_id` int(10) NOT NULL COMMENT '商品id',
`image` varchar(255) NOT NULL COMMENT '推荐图',
`images` varchar(2000) NOT NULL COMMENT '轮播图',
`title` varchar(255) NOT NULL COMMENT '活动标题',
`info` varchar(255) NOT NULL COMMENT '简介',
`price` decimal(10,2) unsigned NOT NULL COMMENT '价格',
`cost` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '成本',
`ot_price` decimal(10,2) unsigned NOT NULL COMMENT '原价',
`give_integral` decimal(10,2) unsigned NOT NULL COMMENT '返多少积分',
`sort` int(10) NOT NULL COMMENT '排序',
`stock` int(10) NOT NULL COMMENT '库存',
`sales` int(10) NOT NULL DEFAULT '0' COMMENT '销量',
`unit_name` varchar(16) NOT NULL COMMENT '单位名',
`postage` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '邮费',
`description` text NOT NULL COMMENT '内容',
`start_time` varchar(128) NOT NULL COMMENT '开始时间',
`stop_time` varchar(128) NOT NULL COMMENT '结束时间',
`status` tinyint(1) NOT NULL COMMENT '产品状态',
`is_postage` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否包邮',
`is_hot` tinyint(1) NOT NULL DEFAULT '0' COMMENT '热门推荐',
`is_del` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除 0未删除1已删除',
`num` int(11) NOT NULL COMMENT '最多秒杀几个',
`is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '显示',
KEY `product_id` (`product_id`),
KEY `sort` (`sort`),
KEY `start_time` (`start_time`),
KEY `status` (`status`),
KEY `is_postage` (`is_postage`),
KEY `is_hot` (`is_hot`),
KEY `is_del` (`is_del`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '小程序商城-商品秒杀产品表';