文件
mashangyoujiu/Application/Common/Model/PurchasePayableModel.class.php

21 行
1.2 KiB
PHP
可执行文件

<?php
namespace Common\Model;
/*采购应付款模型
*
*/
use Think\Model;
//[1.5.46]
class PurchasePayableModel extends JBaseModel
{
protected $tableName='retail_purchase_payable';
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
const MERCHANT_ID = 'merchant_id'; //int(11) DEFAULT '0' COMMENT '商户id',
const SUPPLIER_ID = 'supplier_id'; //int(11) DEFAULT '0' COMMENT '供货商id',
const PURCHASE_ORDER_ID = 'purchase_order_id'; //采购单id
const PURCHASE_ORDER_NUMBER = 'purchase_order_number'; //varchar(20) DEFAULT '' COMMENT '采购订单号',
const OPERATOR_ID = 'operator_id'; // int(11) DEFAULT '0' COMMENT '操作人id',
const PURCHASE_TIME = 'purchase_time'; //varchar(13) DEFAULT '' COMMENT '采购时间',
const PAYABLE_MONEY = 'payable_money'; //decimal(11,2) DEFAULT '0.00' COMMENT ' 应付金额',
const PAID_MONEY = 'paid_money'; //decimal(11,2) DEFAULT '0.00' COMMENT '已付金额',
const PAY_STATUS = 'pay_status'; //已作废
}