ecshop数据字典(六)---关于活动

CREATE TABLE IF NOT EXISTS `ecs_goods_activity` (
  `act_id` mediumint(8) unsigned NOT NULL auto_increment,--处理id号
  `act_name` varchar(255) NOT NULL,--活动名称
  `act_desc` text NOT NULL,--活动描述
  `act_type` tinyint(3) unsigned NOT NULL,--活动类型,如团购、促销等
  `goods_id` mediumint(8) unsigned NOT NULL,--商品id
  `product_id` mediumint(8) unsigned NOT NULL default '0',--商品编号
  `goods_name` varchar(255) NOT NULL,--商品名称
  `start_time` int(10) unsigned NOT NULL,--开始时间
  `end_time` int(10) unsigned NOT NULL,--结束时间
  `is_finished` tinyint(3) unsigned NOT NULL,--活动是否结束,0,结束;1,未结束
  `ext_info` text NOT NULL,--序列化后的活动的配置信息,包括最低价,最高价,出价幅度,保证金等
  PRIMARY KEY  (`act_id`),
  KEY `act_name` (`act_name`,`act_type`,`goods_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8
 

你可能感兴趣的:(活动,ext)