12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DAccount extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = "account";
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'enterpriseId',
- 'name',
- 'accountCode',
- 'accountNumber',
- 'beginMoney',
- 'shopId',
- 'shopName',
- 'enableStatus',
- 'money',
- 'createTime',
- 'updateTime',
- 'remark',
- 'extends',
- 'deleteStatus',
- 'isDefault',
- 'type',
- 'bankName',
- 'bankAccount'
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|