123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DAccountDetail extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_account_detail_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'accountId',
- 'accountCode',
- 'accountName',
- 'accountNumber',
- 'sourceNo',
- 'sourceId',
- 'financeType',
- 'beginBalance',
- 'shopId',
- 'shopName',
- 'income',
- 'expend',
- 'endBalance',
- 'contactUnit',
- 'supplierId',
- 'customerId',
- 'operatorId',
- 'receiveOrPayPerson',
- 'remark',
- 'createTime',
- 'updateTime',
- 'extends',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|