<?php
/* 数据字典
 * 数据库 -> 表 -> 字段
 * 值：大于 10 表示不参与用户配置 , 1表示显示，0表示不显示
 */
return array(
	"mall.goods" => array(
	//文章表
		"goods_id" => array("val" => 0,"w" => 0), //id
		"goods_name" => array("val" => 1,"w" => 500), //名称
		"goods_number" => array("val" => 0,"w" => 0), //编码
		"goods_category_id" => array("val" => 0,"w" => 50), //分类id
		"goods_store" => array("val" => 1,"w" => 60), //库存
		"goods_alarm" => array("val" => 1,"w" => 60), //报警
		"goods_price" => array("val" => 1,"w" => 100), //售价
		"goods_price_market" => array("val" => 1,"w" => 100), //市场价
		"goods_state" => array("val" => 1,"w" => 60), //状态
		"goods_addtime" => array("val" => 1,"w" => 120), //添加时间
		"goods_updatetime" => array("val" => 1,"w" => 120), //修改时间
		"goods_hits" => array("val" => 1,"w" => 60), //浏览量
		"goods_sold" => array("val" => 1,"w" => 60), //售出
		"goods_sold_day" => array("val" => 1,"w" => 60), //当天售出
		"goods_sold_month" => array("val" => 1,"w" => 60), //当月售出
		"goods_sold_week" => array("val" => 1,"w" => 60), //本周售出
		"goods_sold_lastnum" => array("val" => 1,"w" => 60), //最近售出
		"goods_sold_date" => array("val" => 1,"w" => 60), //售出时间
		"goods_ask_num" => array("val" => 1,"w" => 60), //提问数
		"goods_comment_num" => array("val" => 1,"w" => 60), //评论数
		"goods_tj1" => array("val" => 1,"w" => 60),
		"goods_tj2" => array("val" => 1,"w" => 60),
		"goods_tj3" => array("val" => 1,"w" => 60),
		"goods_tj4" => array("val" => 1,"w" => 60),
	),
	"mall.vip" => array(
		"vip_id" => array("val" => 0,"w" => 0), //id
		"vip_name" => array("val" => 1,"w" => 120), //vip名称
		"vip_experience" => array("val" => 1,"w" => 100), //vip所需积分
		"vip_discount" => array("val" => 1,"w" => 100), //折扣
	),
	"mall.shop" => array(
		"shop_id" => array("val" => 0,"w" => 0), //id
		"shop_name" => array("val" => 1,"w" => 200), //店铺名称
		"shop_tel" => array("val" => 1,"w" => 80), //店铺电话
		"shop_address" => array("val" => 1,"w" => 150), //店铺地址
		"shop_weburl" => array("val" => 0,"w" => 100), //邮编
		"shop_linkname" => array("val" => 1,"w" => 100), //联系人
		"shop_linktel" => array("val" => 1,"w" => 100), //联系电话
	),
	"mall.order" => array(
		"order_id" => array("val" => 0,"w" => 50), //订单自动id
		"order_state" => array("val" => 1,"w" => 80), //状态
		"order_datetime" => array("val" => 1,"w" => 120), //添加时间
		"order_area" => array("val" => 1,"w" => 170), //楼号1
		"order_name" => array("val" => 1,"w" => 50), //姓名
		"order_address" => array("val" => 1,"w" => 50), //性别
		"order_tel" => array("val" => 1,"w" => 50), //电话
		"order_user_id" => array("val" => 11,"w" => 0), //用户id
		"user_name" => array("val" => 1,"w" => 50), //用户
		"order_goods_ids" => array("val" => 11,"w" => 0), //订单列表
		"order_pay_val" => array("val" => 1,"w" => 50), //已付金额
		"order_total_pay" => array("val" => 1,"w" => 50), //应付金额
		"order_beta" => array("val" => 0,"w" => 0), //备注
	),
	"mall.sendinfo" => array(
		"sendinfo_id" => array("val" => 0,"w" => 0), //id
		"sendinfo_name" => array("val" => 1,"w" => 100), //名称
		"sendinfo_bj" => array("val" => 1,"w" => 120), //是否保价
		"sendinfo_payment" => array("val" => 1,"w" => 100), //支持收款
		"sendinfo_state" => array("val" => 1,"w" => 60), //状态
		"sendinfo_addtime" => array("val" => 1,"w" => 100), //添加时间
	),
	"mall.brand" => array(
		"brand_id" => array("val" => 1,"w" => 0), //id
		"brand_name" => array("val" => 1,"w" => 120), //vip名称
		"brand_pic" => array("val" => 1,"w" => 100), //vip所需积分
		"brand_addtime" => array("val" => 1,"w" => 120), //折扣
		"brand_updatetime" => array("val" => 1,"w" => 120), //折扣
	),

);