详细完善的Opencart数据字典(2)
  
  
   时间:2014-07-24 23:21来源:未知 作者:最模板zuimoban 点击:
   
   次
  
  
  27. order_option 订单中产品的附加额外信息。 主键: order_option_id 字段名 数据类型 长度 是否为空 主键 备注 order_option_id Int 11 Not Yes 主键(自增) order_id Int 11
  
  
   
    
     
        
27. order_option 
  订单中产品的附加额外信息。 
主键: order_option_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				order_option_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				order_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				订单编号(关联 order 主键) | 
		 
		
			| 
				order_product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				订单中产品编号(关联order_product主键) | 
		 
		
			| 
				product_option_value_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				产品额外选项编号(关联product_option主键) | 
		 
		
			| 
				name | 
			
				varchar | 
			
				255 | 
			
				Not | 
			
				  | 
			
				产品额外选项名称 | 
		 
		
			| 
				value | 
			
				varchar | 
			
				255 | 
			
				Not | 
			
				  | 
			
				产品额外选项的信息值 | 
		 
		
			| 
				price | 
			
				Decimal1 | 
			
				15 | 
			
				Not | 
			
				  | 
			
				附加额外选项的价钱 | 
		 
		
			| 
				prefix | 
			
				char | 
			
				1 | 
			
				Not | 
			
				  | 
			
				前缀 | 
		 
	
 
  
28.Order_product 
订单所包含商品信息表:记录订单中所包含的商品信息 
主键: order_product_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				order_product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				order_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				订单编号(关联 order 主键) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				订单中产品编号(关联product主键) | 
		 
		
			| 
				product_option_value_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				产品额外选项编号(关联product_option主键) | 
		 
		
			| 
				name | 
			
				varchar | 
			
				255 | 
			
				Not | 
			
				  | 
			
				该商品名称 | 
		 
		
			| 
				model | 
			
				varchar | 
			
				255 | 
			
				Not | 
			
				  | 
			
				该商品模型代码 | 
		 
		
			| 
				price | 
			
				Decimal1 | 
			
				15 | 
			
				Not | 
			
				  | 
			
				该商品价格 | 
		 
		
			| 
				total | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				该商品总价 | 
		 
		
			| 
				tax | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				税金 | 
		 
		
			| 
				quantity | 
			
				Int | 
			
				4 | 
			
				Not | 
			
				  | 
			
				商品数目 | 
		 
		
			| 
				subtract | 
			
				Int | 
			
				1 | 
			
				Not | 
			
				  | 
			
				************ | 
		 
	
 
  
29.Order_status 
  订单状态信息表:记录订单的一些常备状态 
 主键: order_status_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				order_status_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				语言包编号(关联 language 主键) | 
		 
		
			| 
				name | 
			
				Varcahr | 
			
				64 | 
			
				Not | 
			
				  | 
			
				订单状态名称 | 
		 
	
 
  
30.order_total 
  订单最终金额形成表: 
主键:order_total_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				order_total_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				order_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				订单编号(关联 order 主键) | 
		 
		
			| 
				title | 
			
				Varcahr | 
			
				255 | 
			
				Not | 
			
				  | 
			
				计算项名称 | 
		 
		
			| 
				text | 
			
				Varchar | 
			
				255 | 
			
				NOT | 
			
				  | 
			
				计算项对应的文本值 | 
		 
		
			| 
				Value | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				计算项对应的文本值对应的真实数值 | 
		 
		
			| 
				sort_order | 
			
				Int | 
			
				3 | 
			
				Not | 
			
				  | 
			
				排序的位置 | 
		 
	
 
  
31.Product 
产品信息表 
主键:product_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				model | 
			
				Varchar | 
			
				64 | 
			
				Not | 
			
				  | 
			
				模型名称 | 
		 
		
			| 
				sku | 
			
				Varcahr | 
			
				64 | 
			
				Not | 
			
				  | 
			
				库存单元 | 
		 
		
			| 
				location | 
			
				Varchar | 
			
				128 | 
			
				NOT | 
			
				  | 
			
				******************* | 
		 
		
			| 
				quantity | 
			
				Int | 
			
				4 | 
			
				Not | 
			
				  | 
			
				商品数目 | 
		 
		
			| 
				stock_status_id | 
			
				Int | 
			
				3 | 
			
				Not | 
			
				  | 
			
				库存状态编号(关联stock_status主键) | 
		 
		
			| 
				image | 
			
				varchar | 
			
				255 | 
			
				Not | 
			
				  | 
			
				产品图片路径 | 
		 
		
			| 
				manufacturer_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				制造商编号(关联manufacturer主键) | 
		 
		
			| 
				Shipping | 
			
				int | 
			
				1 | 
			
				Not | 
			
				  | 
			
				是否需要运送 | 
		 
		
			| 
				Price | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				价格 | 
		 
		
			| 
				tax_class_id | 
			
				decima | 
			
				11 | 
			
				Not | 
			
				  | 
			
				税项编号(关联tax主键) | 
		 
		
			| 
				date_available | 
			
				Date | 
			
				0 | 
			
				Not | 
			
				  | 
			
				商品有效日期 | 
		 
		
			| 
				weight | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				重量 | 
		 
		
			| 
				weight_class_id | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				重量编号(关联weight_class主键) | 
		 
		
			| 
				Length | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				长度 | 
		 
		
			| 
				Width | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				宽度 | 
		 
		
			| 
				Height | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				高度 | 
		 
		
			| 
				length_class_id | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				长度编号(关联length_class主键) | 
		 
		
			| 
				Status | 
			
				Int | 
			
				3 | 
			
				Not | 
			
				  | 
			
				状态(0/1) | 
		 
		
			| 
				date_added | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				商品添加日期 | 
		 
		
			| 
				date_modified | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				商品修改信息 | 
		 
		
			| 
				Viewed | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				************** | 
		 
		
			| 
				sort_order | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				排序位置 | 
		 
		
			| 
				Subtract | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				是否扣除**** | 
		 
		
			| 
				Minimum | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				最小数目 | 
		 
		
			| 
				cost | 
			
				decima | 
			
				15 | 
			
				Not | 
			
				  | 
			
				成本价 | 
		 
	
 
  
59.product_description 
产品信息描述表 
主键: product_id, product_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(关联product主键) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				语言包(关联 language主键) | 
		 
		
			| 
				name | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				产品名称 | 
		 
		
			| 
				meta_keywords | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				产品信息页关键字 | 
		 
		
			| 
				meta_description | 
			
				datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				产品信息页关键字 | 
		 
		
			| 
				description | 
			
				datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				产品描述 | 
		 
	
 
  
32.Product_discount 
打折商品表:记录打折商品的相关信息 
主键:product_discount_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_discount_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品编号(关联product主键) | 
		 
		
			| 
				customer_group_id | 
			
				intr | 
			
				11 | 
			
				Not | 
			
				  | 
			
				注册会员组别编号(关联customer_group主键) | 
		 
		
			| 
				quantity | 
			
				Int | 
			
				4 | 
			
				NOT | 
			
				  | 
			
				打折商品的数目 | 
		 
		
			| 
				priority | 
			
				Int | 
			
				4 | 
			
				Not | 
			
				  | 
			
				打着商品的饿优先级 | 
		 
		
			| 
				price | 
			
				decima | 
			
				15 | 
			
				Not | 
			
				  | 
			
				打折商品价格 | 
		 
		
			| 
				date_start | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				打折商品上架时间 | 
		 
		
			| 
				date_end | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				打折商品下架时间 | 
		 
	
 
  
33. product_featured 
   畅销产品表: 
  
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product _id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号 | 
		 
	
 
  
34:produc_image 
 商品图片表:记录一个商品的不同图片路径。 
主键:product_image_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_image_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品编号(关联product主键) | 
		 
		
			| 
				image | 
			
				Varchar | 
			
				255 | 
			
				Not、 | 
			
				  | 
			
				图片路径 | 
		 
	
 
  
35:product_option 
商品额外选项表:记录一种商品的不同配置信息 
主键:product_option_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_option_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品编号(关联product主键) | 
		 
		
			| 
				sort_order | 
			
				Varchar | 
			
				255 | 
			
				Not、 | 
			
				  | 
			
				排序位置 | 
		 
	
 
  
36:product_option_description 
 商品附加选项描述信息表 
主键:product_option_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_option_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(关联product_option主键) | 
		 
		
			| 
				Language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				语言包编号(关联Language主键) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not、 | 
			
				  | 
			
				商品编号 | 
		 
		
			| 
				name | 
			
				Varchar | 
			
				64 | 
			
				Not | 
			
				  | 
			
				附加选项名称 | 
		 
	
 
  
37.Product_option_value 
  商品附加选项金额表 
主键:product_option_value_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_option_value_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				product_option_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品附加选项编号(关联product_option主键) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not、 | 
			
				  | 
			
				商品编号 | 
		 
		
			| 
				quantity | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				该附加选项数目 | 
		 
		
			| 
				Subtract | 
			
				  | 
			
				  | 
			
				Not | 
			
				  | 
			
				********** | 
		 
		
			| 
				price | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				附加选项单价 | 
		 
		
			| 
				prefix | 
			
				char | 
			
				5 | 
			
				Not | 
			
				  | 
			
				前缀 | 
		 
		
			| 
				sort_order | 
			
				Int | 
			
				1 | 
			
				Not | 
			
				  | 
			
				排序位置 | 
		 
	
 
  
38.Product_option_value_description 
主键: product_option_value_id, language_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_option_value_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(关联Product_option_value主键) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				语言包编号(关联Language主键 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not、 | 
			
				  | 
			
				商品编号(关联product主键) | 
		 
		
			| 
				name | 
			
				Varchar | 
			
				64 | 
			
				Not | 
			
				  | 
			
				名称 | 
		 
	
 
  
  
  
  
  
  
39.product_ related 
商品之间的关联表: 
 主键:product_id,related_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				related_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键 | 
		 
	
 
  
40. product_special 
特卖商品表:记录商店的特卖商品的信息 
主键:product_special_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_special_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增/自增量1) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				customer_group_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				注册会员组别编号(关联customer_group主键) | 
		 
		
			| 
				priority | 
			
				Int | 
			
				5 | 
			
				Not | 
			
				  | 
			
				优先级 | 
		 
		
			| 
				price | 
			
				decimal | 
			
				15 | 
			
				Not | 
			
				  | 
			
				商品单价 | 
		 
		
			| 
				date_start | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				该商品在特卖区的上架时间 | 
		 
		
			| 
				date_END | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				该商品在特卖区的下架时间 | 
		 
	
 
  
41.Product_tags 
 商品标签表 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				语言包编号(关联Language主键 | 
		 
		
			| 
				tag | 
			
				Int | 
			
				11 | 
			
				  | 
			
				Yes | 
			
				  | 
		 
	
 
  
42.product_to_category 
  商品和分类关联表明 
主键:product_id,category_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				category_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				分类编号(关联category主键 | 
		 
	
 
  
43. product_to_download 
商品和下载文件关联表 
主键:download_id,product_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				download_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				下载文件编号(关联download主键 | 
		 
	
 
  
  
44.Product_to_store 
商品和商店关联表 
主键:product_id,store_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商品编号(关联Producte主键) | 
		 
		
			| 
				store_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				商店编号(关联store主键 | 
		 
	
 
  
45. review 
商品的反馈评论信息表 
主键: review_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				review_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				反馈信息编号(自增/自增量1) | 
		 
		
			| 
				product_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				商品编号(关联product主键 | 
		 
		
			| 
				customer_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				注册用户编号(关联customer 主键) | 
		 
		
			| 
				author | 
			
				varchar | 
			
				64 | 
			
				Not | 
			
				  | 
			
				评论作者 | 
		 
		
			| 
				text | 
			
				Text | 
			
				0 | 
			
				Not | 
			
				  | 
			
				内容 | 
		 
		
			| 
				rating | 
			
				Int | 
			
				1 | 
			
				Not、 | 
			
				  | 
			
				评论星级 | 
		 
	
 
  
46.setting 
商店的设置参数表:记录前台页面需要加载的模块ID和模板名称等其他信息 
主键:setting_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				setting_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增/自增量1) | 
		 
		
			| 
				group | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				分组(添加的模块名称) | 
		 
		
			| 
				Key | 
			
				Varcahr | 
			
				32 | 
			
				Not | 
			
				  | 
			
				  | 
		 
		
			| 
				Value | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				  | 
		 
	
 
  
47. stock_status 
库存状态表:记录库存的状态参数 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				stock_status_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键 | 
		 
		
			| 
				language_id | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				语言包编号(关联Language主键 | 
		 
		
			| 
				name | 
			
				Varcahr | 
			
				32 | 
			
				Not | 
			
				  | 
			
				库存状态名称 | 
		 
	
 
  
48.Store 
商店信息表(主要记录新增商店的参数信息) 
主键: 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				store_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键 | 
		 
		
			| 
				name | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				商店名称 | 
		 
		
			| 
				url | 
			
				Varcahr | 
			
				32 | 
			
				Not | 
			
				  | 
			
				商店的web地址 | 
		 
		
			| 
				title | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				商店标题 | 
		 
		
			| 
				meta_description | 
			
				Varcahr | 
			
				32 | 
			
				Not | 
			
				  | 
			
				商店meta标签关键字 | 
		 
		
			| 
				template | 
			
				Varcahr | 
			
				32 | 
			
				Not | 
			
				  | 
			
				商店模板名称 | 
		 
		
			| 
				country_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				国家编号(关联country主键) | 
		 
		
			| 
				zone_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				地区编号(关联zone主键) | 
		 
		
			| 
				language | 
			
				Varchar | 
			
				5 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Currency | 
			
				Varchar | 
			
				5 | 
			
				  | 
			
				  | 
			
				商店的交易货币 | 
		 
		
			| 
				Tax | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				税金 | 
		 
		
			| 
				Customer_group_id | 
			
				Int | 
			
				11 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				customer_price | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				customer_approval | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Guest_checkout | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				account_id | 
			
				Int | 
			
				11 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				checkout_id | 
			
				Int | 
			
				11 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Stock_dispaly | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Stock_check | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Stock_checkout | 
			
				Int | 
			
				1 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Order_status_id | 
			
				Int | 
			
				11 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Logo | 
			
				Varchar | 
			
				255 | 
			
				  | 
			
				  | 
			
				商店logo图片路径 | 
		 
		
			| 
				Ico | 
			
				Varchar | 
			
				255 | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Image_thumb_width | 
			
				Int | 
			
				5 | 
			
				  | 
			
				  | 
			
				缩略图宽度 | 
		 
		
			| 
				image_thumb_height | 
			
				Int | 
			
				5 | 
			
				  | 
			
				  | 
			
				缩略图高度 | 
		 
		
			| 
				image_popup_width | 
			
				Int | 
			
				5 | 
			
				  | 
			
				  | 
			
				Thickbox中图片的宽度 | 
		 
		
			| 
				image_popup_height | 
			
				Int | 
			
				5 | 
			
				  | 
			
				  | 
			
				Thickbox中图片的高度 | 
		 
		
			| 
				image_category_width | 
			
				Int | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_category_height | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_product_height | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_product_width | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_additional_width | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_additional_height | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_related_width | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_related_height | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_cart_width | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				image_cart_height | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				Ssl | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				catalog_limit | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
		
			| 
				cart_weight | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
			
				  | 
		 
	
 
  
49.Store_description 
   商店描述信息 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				store_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键 | 
		 
		
			| 
				language_id | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				语言包编号(关联Language主键 | 
		 
		
			| 
				description | 
			
				Text | 
			
				0 | 
			
				Not | 
			
				  | 
			
				描述内容 | 
		 
	
 
  
50.tax_class 
税金表:记录税率的相关信息 
主键: tax_class_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				tax_class_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				title | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				税金标题 | 
		 
		
			| 
				description | 
			
				Text | 
			
				0 | 
			
				Not | 
			
				  | 
			
				税率描述内容 | 
		 
		
			| 
				date_added | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				税率添加日期 | 
		 
		
			| 
				date_modified | 
			
				Datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				税率修改日期 | 
		 
	
 
  
51.tax_rate 
税率表 
主键:tax_rate_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				tax_rate_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				geo_zone_id | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				  | 
		 
		
			| 
				tax_class_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				税金编号(关联 tax_class_id主键) | 
		 
		
			| 
				priority | 
			
				Int | 
			
				5 | 
			
				Not | 
			
				  | 
			
				优先级 | 
		 
		
			| 
				Rate | 
			
				decimal | 
			
				0 | 
			
				Not | 
			
				  | 
			
				税率 | 
		 
		
			| 
				description | 
			
				Varchar | 
			
				255 | 
			
				  | 
			
				  | 
			
				描述 | 
		 
		
			| 
				date_modified | 
			
				Datetime | 
			
				0 | 
			
				  | 
			
				  | 
			
				税率修改日期 | 
		 
		
			| 
				date_added | 
			
				Datetime | 
			
				0 | 
			
				  | 
			
				  | 
			
				税率添加日期 | 
		 
	
 
  
52.url_alias 
 伪静态信息表 
  主键:url_alias_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				url_alias_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				query | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				  | 
		 
		
			| 
				keyword | 
			
				varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				  | 
		 
	
 
  
53.user 
后台管理用户表 
    主键:user_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				user_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				user_group_id | 
			
				Int | 
			
				32 | 
			
				Not | 
			
				  | 
			
				组别 | 
		 
		
			| 
				username | 
			
				varchar | 
			
				20 | 
			
				Not | 
			
				  | 
			
				账号 | 
		 
		
			| 
				password | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				密码 | 
		 
		
			| 
				firstname | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				姓名 | 
		 
		
			| 
				lastname | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				姓名 | 
		 
		
			| 
				email | 
			
				Varchar | 
			
				96 | 
			
				Not | 
			
				  | 
			
				电子信箱 | 
		 
		
			| 
				status | 
			
				int | 
			
				1 | 
			
				Not | 
			
				  | 
			
				状态 | 
		 
		
			| 
				ip | 
			
				Varchar | 
			
				15 | 
			
				Not | 
			
				  | 
			
				IP地址 | 
		 
		
			| 
				date_added | 
			
				datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				添加日期 | 
		 
	
 
  
54.user_group 
用户组别 
主键:user_group_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				user_group_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				name | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				组别名称 | 
		 
		
			| 
				permission | 
			
				varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				权限 | 
		 
	
 
  
55.weight_class 
  重量单位表 
主键:weight_class_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				weight_class_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(自增) | 
		 
		
			| 
				Value | 
			
				Varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				  | 
		 
	
 
  
56. weight_class_description 
重量单位信息表 
主键:weight_class_id,language_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				weight_class_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(关联weight_class_id主键) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				主键(关联 language主键) | 
		 
		
			| 
				title | 
			
				varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				字段值 | 
		 
		
			| 
				unit | 
			
				Varchar | 
			
				4 | 
			
				Not | 
			
				  | 
			
				英文缩写 | 
		 
	
 
  
57.zone 
地区信息表 
主键:zone_id 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				weight_class_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键(关联weight_class_id主键) | 
		 
		
			| 
				language_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				主键(关联 language主键) | 
		 
		
			| 
				title | 
			
				varchar | 
			
				32 | 
			
				Not | 
			
				  | 
			
				字段值 | 
		 
		
			| 
				unit | 
			
				Varchar | 
			
				4 | 
			
				Not | 
			
				  | 
			
				英文缩写 | 
		 
	
 
  
58. zone_to_geo_zone 
主键: 
	
		
			| 
				字段名 | 
			
				数据类型 | 
			
				长度 | 
			
				是否为空 | 
			
				主键 | 
			
				备注 | 
		 
		
			| 
				zone_to_geo_zone_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				Yes | 
			
				主键 | 
		 
		
			| 
				country_id | 
			
				Int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				国家编号(关联 country主键) | 
		 
		
			| 
				zone_id | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				地区编号(关联zone主键) | 
		 
		
			| 
				geo_zone_id | 
			
				int | 
			
				11 | 
			
				Not | 
			
				  | 
			
				******** | 
		 
		
			| 
				date_added | 
			
				datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				添加日期 | 
		 
		
			| 
				date_modified | 
			
				datetime | 
			
				0 | 
			
				Not | 
			
				  | 
			
				修改日期 | 
		 
	
 
  
  
      
      (责任编辑:最模板) | 
    
   
   
  
  
  
  
   ------分隔线----------------------------