1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wxj
- * Date: 2019/10/30
- * Time: 14:17
- */
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DCustomerBalanceDetailIndex extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_customer_balance_detail_index_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(11) NOT NULL AUTO_INCREMENT COMMENT '客户余额明细索引表',
- 'customerId',//int(11) DEFAULT NULL COMMENT '客户id',
- 'recepitTime',//int(11) DEFAULT NULL COMMENT '单据日期',
- 'recepitCode',//varchar(255) DEFAULT NULL COMMENT '单据编号',
- '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);
- }
- }
|