41 行
2.0 KiB
PHP
可执行文件
41 行
2.0 KiB
PHP
可执行文件
<?php
|
|
|
|
namespace Common\Model;
|
|
|
|
use Think\Model;
|
|
//[1.3.89]
|
|
/**
|
|
* 菜鸟电子面单取号记录
|
|
* Class CNLogisticsOrderModel
|
|
* @package Common\Model
|
|
*/
|
|
class CNLogisticsOrderModel extends BaseModel
|
|
{
|
|
protected $tableName = 'cn_logistics_order';
|
|
protected $fields = array(
|
|
'id',//int(11) NOT NULL AUTO_INCREMENT,
|
|
'store_id',//int(11) DEFAULT NULL COMMENT '门店id',
|
|
'cp_code',//varchar(50) DEFAULT NULL COMMENT '物流公司编码',
|
|
'branch_code',//varchar(20) DEFAULT NULL COMMENT '网点code',
|
|
'branch_name',//varchar(50) DEFAULT NULL COMMENT '网点名称',
|
|
'sender_name',//varchar(50) DEFAULT NULL COMMENT '发货人姓名',
|
|
'sender_mobile',//varchar(11) DEFAULT NULL COMMENT '发货人手机',
|
|
'sender_phone',//varchar(20) DEFAULT NULL COMMENT '发货人固定电话',
|
|
'sender_address',//varchar(255) DEFAULT NULL COMMENT '发货地址',
|
|
'goods_name',//varchar(255) DEFAULT NULL COMMENT '商品名称',
|
|
'goods_count',//int(11) DEFAULT NULL COMMENT '商品数量',
|
|
'goods_weight',//int(11) DEFAULT NULL COMMENT '商品重量 单位g',
|
|
'goods_volume',//int(11) DEFAULT NULL COMMENT '商品体积 单位ml',
|
|
'recipient_name',//varchar(50) DEFAULT NULL COMMENT '收件人姓名',
|
|
'recipient_mobile',//varchar(11) DEFAULT NULL COMMENT '收件人手机号',
|
|
'recipient_phone',//varchar(20) DEFAULT NULL COMMENT '收件人固定电话',
|
|
'recipient_address',//varchar(255) DEFAULT NULL COMMENT '收件人地址',
|
|
'template_url',//varchar(255) DEFAULT NULL COMMENT '面单模板地址',
|
|
'waybill_code',//varchar(50) DEFAULT NULL COMMENT '电子面单号',
|
|
'print_data',//varchar(6000) DEFAULT NULL COMMENT '面单模板打印数据',
|
|
'status',//tinyint(1) DEFAULT '1' COMMENT '1正常 0取消',
|
|
'state',//tinyint(1) DEFAULT '1' COMMENT '1正常 0删除',
|
|
'add_time',//varchar(20) DEFAULT NULL COMMENT '创建时间',
|
|
'cancel_time',// varchar(20) DEFAULT NULL COMMENT '取消时间',
|
|
);
|
|
} |