1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DRefund extends BaseDao
- {
- public function __construct($serviceDB = 'finance')
- {
- $this->_table = 'qianniao_refund_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'no',
- 'auditStatus',
- 'unitId',
- 'unitName',
- 'type',
- 'sourceNo',
- 'currentAccountName',
- 'financeType',
- 'financeTypeId',
- 'payType',
- 'shopId',
- 'shopName',
- 'money',
- 'operatorId',
- 'originId',
- 'originNo',
- 'refundTime',
- 'createTime',
- 'updateTime',
- 'offsetId',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|