30 行
2.2 KiB
PHP
可执行文件
30 行
2.2 KiB
PHP
可执行文件
<?php
|
||
|
||
namespace Common\Model;
|
||
|
||
use Think\Model;
|
||
//[1.2.41]
|
||
class DaClerkModel extends BaseModel
|
||
{
|
||
protected $tableName = 'retail_da_clerk';
|
||
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
|
||
const CLIENT_ID = 'client_id'; //varchar(255) DEFAULT NULL COMMENT '达达运单号',
|
||
const ORDER_ID = 'order_id'; //varchar(255) DEFAULT NULL COMMENT '互生活的订单号',
|
||
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_FROM = '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 SIGNA_TRUE = 'signature'; //varchar(255) DEFAULT '' COMMENT '对client_id, order_id, update_time的值进行字符串升序排列,再连接字符串,取md5值',
|
||
const BILL_ID = 'bill_id'; //int(11) DEFAULT '0' COMMENT '互生活商城订单id',
|
||
const GROUP_ID = 'group_id'; //int(11) DEFAULT '0' COMMENT '拼团订单id(已作废)',
|
||
const SPIKE_ID = 'spike_id'; //int(11) DEFAULT '0' COMMENT '秒杀订单id(已作废)',
|
||
const COST_ID = 'costid'; //int(11) DEFAULT '0' COMMENT '达达费用id',
|
||
const MERCHANT_ID = 'merchantid'; //int(11) DEFAULT '0' COMMENT '商户id',
|
||
const STORE_ID = 'storeid'; //int(11) DEFAULT '0' COMMENT '门店id',
|
||
const DEDUCT_FEE = 'deduct_fee'; //double(10,2) DEFAULT '0.00' COMMENT '商家取消订单扣除的违约金',
|
||
const PLACE_ORDER_TYPE = 'placeordertype'; //varchar(255) DEFAULT '0' COMMENT '1商城订单 2拼团订单 3秒杀订单',
|
||
|
||
} |