38 行
2.5 KiB
PHP
可执行文件
38 行
2.5 KiB
PHP
可执行文件
<?php
|
||
|
||
namespace Retail\Model;
|
||
|
||
//[1.7.90]
|
||
|
||
/**
|
||
* 达达配送表
|
||
* Class DaDaModel
|
||
* @package Retail\Model
|
||
* @author GuYunQinFeng
|
||
*/
|
||
class DaDaModel extends \Common\Model\BaseModel
|
||
{
|
||
protected $tableName = 'retail_da_order';
|
||
protected $fields = array(
|
||
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
||
'client_id', //varchar(255) DEFAULT NULL COMMENT '达达运单号',
|
||
'order_no', //varchar(255) DEFAULT NULL COMMENT '互生活的订单号',
|
||
'order_status', //int(11) DEFAULT '1' COMMENT '待接单=1 待取货=2 配送中=3 已完成=4 已取消=5 已过期=7 指派单=8 妥投异常之物品返回中=9 妥投异常之物品返回完成=10 创建达达运单失败=1000',
|
||
'cancel_reason', //varchar(255) DEFAULT '' COMMENT '订单取消原因,其他状态下默认值为空字符串',
|
||
'cancel_from', //int(11) DEFAULT '0' COMMENT '订单取消原因来源(1:达达配送员取消;2:商家主动取消;3:系统或客服取消;0:默认值)',
|
||
'update_time', //varchar(13) DEFAULT NULL COMMENT '更改时间',
|
||
'dm_id', //int(11) DEFAULT '0' COMMENT '达达配送员id',
|
||
'dm_name', //varchar(128) DEFAULT '' COMMENT '配送员姓名',
|
||
'dm_mobile', //varchar(13) DEFAULT '' COMMENT '配送员手机号',
|
||
'signature', //varchar(255) DEFAULT '' COMMENT '对client_id, order_id, update_time的值进行字符串升序排列,再连接字符串,取md5值',
|
||
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户id',
|
||
'store_id', //int(11) DEFAULT '0' COMMENT '门店id',
|
||
'deduct_fee', //double(10,2) DEFAULT '0.00' COMMENT '商家取消订单扣除的违约金',
|
||
'order_genre', //varchar(255) DEFAULT '0' COMMENT '1商城订单 2拼团订单 3秒杀订单',
|
||
'distance', //double(10,2) NOT NULL COMMENT '达达配送距离',
|
||
'fee', //double(10,2) DEFAULT '0.00' COMMENT '实际运费',
|
||
'deliver_fee', //double(10,2) DEFAULT NULL COMMENT '运费',
|
||
'add_time', //varchar(13) DEFAULT NULL COMMENT '添加时间',
|
||
);
|
||
}
|