17 行
835 B
PHP
可执行文件
17 行
835 B
PHP
可执行文件
<?php
|
|
namespace Common\Model;
|
|
/*
|
|
* 采购资金流水模型
|
|
*/
|
|
use Think\Model;
|
|
//[1.3.26]
|
|
class AdvancePaymentModel extends JBaseModel{
|
|
protected $tableName = 'retail_advance_payment';
|
|
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 OPERATOR_ID = 'operator_id'; //int(11) DEFAULT '0' COMMENT '操作人id',
|
|
const TYPE = 'type'; //tinyint(4) DEFAULT '1' COMMENT '1增加 2减少',
|
|
const MONEY = 'money'; //decimal(10,0) DEFAULT '0' COMMENT '金额',
|
|
const ADD_TIME = 'add_time'; //varchar(13) DEFAULT '' COMMENT '添加时间',
|
|
} |