123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DSupplierBalance extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_supplier_balance_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'supplierId',
- 'openingBalance',
- 'interimBalance',
- 'endingBalance',
- 'createTime',
- 'updateTime',
- 'extends',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|