<?php
/* 数据字典
 * 数据库 -> 表 -> 字段
 * 值：大于 10 表示不参与用户配置 , 1表示显示，0表示不显示
 */
return array(
	"meal.menu" => array(
	//用户表,sys_user
		"menu_id" => array("val" => 0,"w" => 0), //菜谱id
		"menu_number" => array("val" => 0,"w" => 50), //编号
		"menu_title" => array("val" => 1,"w" => 100), //标题
		"group_name" => array("val" => 1,"w" => 100), //分组
		"menu_price" => array("val" => 1,"w" => 40), //单价
		"menu_unit" => array("val" => 0,"w" => 40), //单位
		"menu_pic" => array("val" => 0,"w" => 0), //图片
		"menu_pic_small" => array("val" => 0,"w" => 50), //图片
		"menu_group_id" => array("val" => 0,"w" => 50), //组id
		"menu_intro" => array("val" => 0,"w" => 100), //简介
		"menu_num" => array("val" => 1,"w" => 50), //默认数量
		"menu_attribute" => array("val" => 1,"w" => 80), //属性
		"menu_state" => array("val" => 1,"w" => 50), //状态
		"menu_mode" => array("val" => 1,"w" => 50), //提供模式
		"menu_tj" => array("val" => 1,"w" => 40), //是否推荐
		"menu_addtime" => array("val" => 1,"w" => 120), //添加时间
		"menu_updatetime" => array("val" => 0,"w" => 100), //更新时间
		"menu_sort" => array("val" => 0,"w" => 40), //是否推荐
	),
	"meal.shop" => array(
	//用户表,sys_user
		"shop_id" => array("val" => 0,"w" => 0), //店铺id
		"shop_name" => array("val" => 1,"w" => 100), //店铺名称
		"shop_user_id" => array("val" => 11,"w" => 50), //用户id
		"user_name" => array("val" => 1,"w" => 80), //所属用户
		"shop_area" => array("val" => 1,"w" => 80), //所在区域
		"shop_opentime_start" => array("val" => 0,"w" => 120), //营业开始时间
		"shop_opentime_close" => array("val" => 0,"w" => 120), //营业结束时间
		"shop_intro" => array("val" => 11,"w" => 50), //介绍
		"shop_linkname" => array("val" => 1,"w" => 50), //联系人
		"shop_linktel" => array("val" => 1,"w" => 80), //电话
		"shop_tel" => array("val" => 1,"w" => 120), //电话
		"shop_address" => array("val" => 1,"w" => 150), //店铺地址
		"shop_area_id" => array("val" => 11,"w" => 0), //地区id
		"shop_area_allid" => array("val" => 11,"w" => 0), //地区id树
		"shop_dispatch_price" => array("val" => 1,"w" => 50), //起送价格
		"shop_mode" => array("val" => 1,"w" => 100), //经营模式
		"shop_state" => array("val" => 1,"w" => 50), //状态
		"shop_addtime" => array("val" => 1,"w" => 120), //添加时间
		"shop_updatetime" => array("val" => 0,"w" => 120), //修改时间
	),
	"meal.dispatch" => array(
		"dispatch_id" => array("val" => 0,"w" => 0), //店铺id
		"area_name" => array("val" => 1,"w" => 120), //店铺名称
		"dispatch_price" => array("val" => 1,"w" => 120), //起送价
		"dispatch_number" => array("val" => 1,"w" => 50), //所属用户
		"dispatch_time" => array("val" => 1,"w" => 80), //添加时间
		"dispatch_area_id" => array("val" => 13 , "w"=>0),
	),
	"meal.menu.today" => array(
		"today_id" => array("val" => 0,"w" => 0), //id
		"today_menu_id" => array("val" => 11,"w" => 50), //菜品id
		"menu_title" => array("val" => 1,"w" => 120), //菜品名称
		"menu_group_id" => array("val" => 11,"w" => 120), //所属组id
		"today_num" => array("val" => 1,"w" => 120), //数量
		"today_date" => array("val" => 11,"w" => 50), //日期
		"today_date_period" => array("val" => 11,"w" => 80), //时间段
	),
	"meal.order" => array(
	//用户表,sys_user
		"order_id" => array("val" => 11,"w" => 0), //订单自动id
		"order_state" => array("val" => 1,"w" => 80), //状态
		"order_isaward" => array("val" => 1,"w" => 80), //是否奖励
		"order_addtime" => array("val" => 1,"w" => 50), //添加时间
		"order_area" => array("val" => 1,"w" => 170), //楼号1
		"order_louhao1" => array("val" => 1,"w" => 50), //楼号1
		"order_louhao2" => array("val" => 1,"w" => 50), //楼号2
		"order_company" => array("val" => 1,"w" => 100), //公司
		"order_depart" => array("val" => 1,"w" => 50), //部门
		"order_name" => array("val" => 1,"w" => 50), //姓名
		"order_sex" => array("val" => 1,"w" => 50), //性别
		"order_tel" => array("val" => 1,"w" => 50), //电话
		"order_telext" => array("val" => 0,"w" => 30), //分机号
		"order_mobile" => array("val" => 1,"w" => 50), //手机
		"order_arrive" => array("val" => 1,"w" => 80), //抵达时间
		"order_user_id" => array("val" => 11,"w" => 0), //用户id
		"user_name" => array("val" => 1,"w" => 50), //用户
		"order_ids" => array("val" => 11,"w" => 0), //订单列表
		"order_total" => array("val" => 1,"w" => 50), //消费金额
		"order_score_money" => array("val" => 1,"w" => 50), //消耗积分
		"order_favorable" => array("val" => 1,"w" => 50), //优惠金额
		"order_total_pay" => array("val" => 1,"w" => 50), //应付金额
		"order_number" => array("val" => 1,"w" => 80), //订单号
		"order_ticket" => array("val" => 1,"w" => 50), //发票
		"order_beta" => array("val" => 0,"w" => 0), //备注
		"order_act_ids" => array("val" => 1,"w" => 50), //享受活动
	),
	"meal.checkout.no" => array(
	//未结算表
		"shop_id" => array("val" => 0,"w" => 0), //店铺id
		"shop_name" => array("val" => 1,"w" => 50), //店铺名称
		"money" => array("val" => 1,"w" => 60), //未结算金额
	),
	"meal.checkout" => array(
	//结算表
		"checkout_id" => array("val" => 0,"w" => 0), //结算id
		"shop_name" => array("val" => 1,"w" => 150), //店铺名称
		"checkout_money" => array("val" => 1,"w" => 60), //结算金额
		"checkout_date" => array("val" => 1,"w" => 60), //结算日期
		"checkout_addtime" => array("val" => 1,"w" => 100), //操作时间
		"checkout_user_id" => array("val" => 1,"w" => 60), //结算日期
		"checkout_beta" => array("val" => 0,"w" => 100), //备注
	),
	"meal.act" => array(
	//活动表
		"act_id" => array("val" => 0,"w" => 0), //结算id
		"act_name" => array("val" => 1,"w" => 150), //活动名称
		"act_where" => array("val" => 0,"w" => 80), //条件
		"act_where_val" => array("val" => 0,"w" => 80), //条件值
		"act_method" => array("val" => 0,"w" => 80), //优惠
		"act_method_val" => array("val" => 0,"w" => 80), //优惠值
		"act_starttime" => array("val" => 1,"w" => 100), //开始时间
		"act_endtime" => array("val" => 1,"w" => 100), //结束时间
		"act_addtime" => array("val" => 0,"w" => 100), //添加时间
		"act_state" => array("val" => 1,"w" => 100), //状态
		"act_beta" => array("val" => 0,"w" => 200), //备注
	),
);
?>