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

18 行
898 B
PHP
可执行文件

<?php
namespace Common\Model;
/*
* 采购资金流水模型
*/
use Think\Model;
//[1.3.26]
class SAdvancePaymentModel extends JBaseModel{
protected $tableName = 'retail_store_advance_payment';
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'; //门店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 '添加时间',
}