27 行
1.3 KiB
PHP
可执行文件
27 行
1.3 KiB
PHP
可执行文件
<?php
|
|
namespace Common\Model;
|
|
use Think\Model;
|
|
//[1.4.13]
|
|
/**
|
|
* 发货物流记录表
|
|
* Class ExpressOrderModel
|
|
* @package Common\Model
|
|
*/
|
|
class ExpressOrderModel extends BaseModel{
|
|
protected $tableName = 'express_order';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
|
'merchant_id', //int(11) DEFAULT NULL COMMENT '商户id',
|
|
'store_id', //int(11) DEFAULT NULL COMMENT '门店id ',
|
|
'bill_id', //int(11) DEFAULT NULL COMMENT '订单表bill_order表id',
|
|
'express_no', //varchar(50) DEFAULT NULL COMMENT '物流单号',
|
|
'express_name', //varchar(50) DEFAULT NULL COMMENT '物流名称',
|
|
'express_code', //varchar(50) DEFAULT NULL COMMENT '快递公司编码',
|
|
'order_type', //tinyint(2) DEFAULT '1' COMMENT '1购买商品订单 其他预留',
|
|
'add_time', //varchar(20) DEFAULT NULL COMMENT '添加时间',
|
|
'status', //tinyint(1) DEFAULT '1' COMMENT '1正常 0取消',
|
|
'type', //tinyint(1) DEFAULT '1' COMMENT '1电子面单 2直接填写单号',
|
|
'logistics_id', //int(11) DEFAULT '0' COMMENT '菜鸟电子面单记录表id',
|
|
'operation_type', //1门店发货 2客户发货(换货退款)
|
|
);
|
|
} |