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