标签:rod 图片 creat 简介 plain 高斯 log class 创建
CREATE TABLE `t_play_product` ( `product_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT ‘主键ID,自增‘, `product_name` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘票品名称‘, `third_from` varchar(15) NOT NULL DEFAULT ‘‘ COMMENT ‘合作方标识‘, `name_synonym` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘票品同义词‘, `search_synonym` varchar(1024) NOT NULL DEFAULT ‘‘ COMMENT ‘票品检索别名‘, `tour_key` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘巡演唯一标识,相同的tour_key为同一个巡演‘, `perform` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘巡回演出‘, `perform_ids` varchar(512) NOT NULL DEFAULT ‘‘ COMMENT ‘巡回演出product id 英文逗号分隔‘, `performer` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘演出人或团体‘, `search_performer` varchar(200) NOT NULL DEFAULT ‘‘ COMMENT ‘艺人检索‘, `show_times` varchar(2048) NOT NULL DEFAULT ‘‘ COMMENT ‘演出场次‘, `show_pics` varchar(2048) NOT NULL DEFAULT ‘‘ COMMENT ‘演出图片‘, `start_date` date NOT NULL DEFAULT ‘0000-00-00‘ COMMENT ‘票品开始时间‘, `end_date` date NOT NULL DEFAULT ‘0000-00-00‘ COMMENT ‘票品结束时间‘, `city_name` varchar(40) NOT NULL COMMENT ‘演出城市‘, `nuomi_city_id` varchar(40) NOT NULL DEFAULT ‘‘ COMMENT ‘糯米城市ID‘, `venue_name` varchar(200) NOT NULL DEFAULT ‘‘ COMMENT ‘场馆名称‘, `venue_id` varchar(30) NOT NULL DEFAULT ‘‘ COMMENT ‘场馆ID‘, `venue_address` varchar(255) NOT NULL DEFAULT ‘‘ COMMENT ‘场馆地址‘, `type_id` varchar(30) NOT NULL DEFAULT ‘‘ COMMENT ‘票品大类别ID‘, `subtype_id` varchar(30) NOT NULL DEFAULT ‘‘ COMMENT ‘票品子类别ID‘, `subtype_name` varchar(512) NOT NULL DEFAULT ‘‘ COMMENT ‘风格‘, `picture` varchar(255) NOT NULL DEFAULT ‘‘ COMMENT ‘票品图片URL‘, `gaussian_pic` varchar(255) NOT NULL DEFAULT ‘‘ COMMENT ‘高斯图‘, `picture_small` varchar(255) NOT NULL DEFAULT ‘‘ COMMENT ‘票品缩略图片URL‘, `picture_seat` varchar(100) NOT NULL DEFAULT ‘‘ COMMENT ‘票区图URL‘, `ticket_link` varchar(400) NOT NULL DEFAULT ‘‘ COMMENT ‘联盟订票URL地址‘, `description_short` varchar(400) NOT NULL DEFAULT ‘‘ COMMENT ‘票品缩略简介‘, `description` varchar(8000) NOT NULL DEFAULT ‘‘ COMMENT ‘简介‘, `lowest_price` int(10) NOT NULL DEFAULT ‘0‘ COMMENT ‘最低价格‘, `highest_price` int(10) NOT NULL DEFAULT ‘0‘ COMMENT ‘最高价格‘, `recommend_desc` varchar(255) NOT NULL DEFAULT ‘‘ COMMENT ‘票品推荐描述‘, `ext_info` varchar(1024) NOT NULL DEFAULT ‘‘ COMMENT ‘扩展信息‘, `discount` int(10) unsigned NOT NULL DEFAULT ‘100‘ COMMENT ‘票品折扣‘, `choose_seat` tinyint(2) NOT NULL DEFAULT ‘0‘ COMMENT ‘是否支持选座 0:不支持 1:支持‘, `shelf_status` tinyint(1) NOT NULL DEFAULT ‘1‘ COMMENT ‘票品上下架状态‘, `state` varchar(30) NOT NULL DEFAULT ‘‘ COMMENT ‘百度票品状态:INIT(初始化),FOR_SALE(待售),ON_SALE(售卖中),SOLD_OUT(售磬),CANCEL(取消),END(结束)‘, `status` int(4) NOT NULL DEFAULT ‘-1‘ COMMENT ‘票品状态‘, `interfere_status` tinyint(1) NOT NULL DEFAULT ‘1‘ COMMENT ‘干预状态 0:待定 1:正常‘, `delivery_type` varchar(64) NOT NULL DEFAULT ‘1‘ COMMENT ‘配送方式‘, `spot_info` varchar(2048) NOT NULL DEFAULT ‘‘ COMMENT ‘自取票信息‘, `online_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘票品上线时间‘, `offline_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘票品下线时间‘, `sale_start_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘开始售卖时间‘, `sale_end_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘结束售卖时间‘, `act_start_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘活动开始时间‘, `act_end_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘活动结束时间‘, `create_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘记录创建时间‘, `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ‘更新时间‘, `performer_md5key` char(32) NOT NULL DEFAULT ‘‘ COMMENT ‘performer字段格式化后的md5值‘, `group_name` varchar(50) NOT NULL DEFAULT ‘‘, `delivery_info` text NOT NULL COMMENT ‘配送信息‘, `is_pigeon_holing` tinyint(2) NOT NULL COMMENT ‘是否对区不对号‘, `is_presale` tinyint(2) NOT NULL COMMENT ‘是否有预售‘, `explain_info` text NOT NULL COMMENT ‘购票说明‘, `hotline` varchar(32) NOT NULL COMMENT ‘客服热线‘, `baidu_agency_fee` float(6,3) NOT NULL COMMENT ‘百度代理费‘, PRIMARY KEY (`product_id`), KEY `venue_id` (`venue_id`), KEY `nuomi_city_id` (`nuomi_city_id`), KEY `show_time` (`show_times`(255)), KEY `interfere_sale_start_end_time` (`interfere_status`,`sale_start_time`,`sale_end_time`), KEY `performer_md5key` (`performer_md5key`), KEY `choose_seat` (`choose_seat`) ) ENGINE=InnoDB AUTO_INCREMENT=40947 DEFAULT CHARSET=utf8 COMMENT=‘票品表‘
标签:rod 图片 creat 简介 plain 高斯 log class 创建
原文地址:http://www.cnblogs.com/shijianchuzhenzhi/p/6673617.html