23 行
1.5 KiB
PHP
可执行文件
23 行
1.5 KiB
PHP
可执行文件
<?php
|
|
namespace Common\Model;
|
|
/*门店采购退货应收款模型
|
|
*
|
|
*/
|
|
use Think\Model;
|
|
//[1.4.70]
|
|
class SRetreatReceivablesModel extends JBaseModel
|
|
{
|
|
protected $tableName='retail_store_retreat_receivables';
|
|
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
|
|
const MERCHANT_ID = 'merchant_id'; //int(11) DEFAULT '0' COMMENT '商户id',
|
|
const STORE_ID = 'store_id'; //int(11) DEFAULT '0' COMMENT '门店id',
|
|
const SUPPLIER_ID = 'supplier_id'; //int(11) DEFAULT '0' COMMENT '供货商id',
|
|
const RETREAT_ORDER_ID = 'retreat_order_id'; //采购退货单id
|
|
const RETREAT_ORDER_NUMBER = 'retreat_order_number'; //varchar(20) DEFAULT '' COMMENT '退货订单号',
|
|
const OPERATOR_ID = 'operator_id'; // int(11) DEFAULT '0' COMMENT '操作人id',
|
|
const RETREAT_TIME = 'retreat_time'; //varchar(13) DEFAULT '' COMMENT '采购退货时间',
|
|
const COLLECT_MONEY = 'collect_money'; //decimal(11,2) DEFAULT '0.00' COMMENT ' 应收金额',
|
|
const RECEIVED_MONEY = 'received_money'; //decimal(11,2) DEFAULT '0.00' COMMENT '已收金额',
|
|
const PAY_STATUS = 'pay_status'; //tinyint(1) DEFAULT '1' COMMENT '1待收款 2部分收款 3已收款',
|
|
const TYPE='type'; //1采购单退货 2出库单向供货商退货
|
|
} |