12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wxj
- * Date: 2019/10/30
- * Time: 14:17
- */
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DSupplierBalanceIndex extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_supplier_balance_index_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(11) NOT NULL AUTO_INCREMENT COMMENT '供应商余额索引表',
- 'detailId',//int(11) DEFAULT NULL COMMENT '余额表id',
- 'supplierId',//int(11) DEFAULT NULL COMMENT '供应商id',
- 'createTime',//int(11) DEFAULT NULL COMMENT '创建日期',
- 'updateTime',//int(11) DEFAULT NULL COMMENT '修改日期',
- 'extends',//json DEFAULT NULL COMMENT '扩展字段',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|