25 行
1.2 KiB
PHP
可执行文件
25 行
1.2 KiB
PHP
可执行文件
<?php
|
|
/*
|
|
* 商户采购退货订单模型 - 数据对象模型
|
|
*/
|
|
namespace Common\Model;
|
|
use Think\Model;
|
|
//[1.3.43]
|
|
class PurchaseRetreatOrderModel extends JBaseModel
|
|
{
|
|
protected $tableName = 'retail_purchase_retreat_order';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,,
|
|
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户id',
|
|
'warehouse_id', //int(11) DEFAULT '0' COMMENT '仓库id',
|
|
'supplier_id', //int(11) DEFAULT '0' COMMENT '供货商id',
|
|
'order_number', //varchar(255) DEFAULT '' COMMENT '订单号',
|
|
'money_total', //decimal(10,2) DEFAULT NULL COMMENT '总金额',
|
|
'goods_species', //int(11) DEFAULT NULL COMMENT '商品总种数',
|
|
'remarks', //text COMMENT '备注',
|
|
'status', //退货状态 0失败 1成功
|
|
'add_time', //varchar(10) DEFAULT '' COMMENT '添加时间',
|
|
'operator_id', //操作人员id
|
|
'total_cost_price', //成本价合计
|
|
);
|
|
} |