1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace JinDouYun\Dao\Merchant;
- use JinDouYun\Dao\BaseDao;
- class DMerchantDetail extends BaseDao
- {
- public function __construct($serviceDB = 'finance')
- {
- $this->_table = 'qianniao_merchant_detail_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'merchantId',
- 'merchantName',
- 'originId',
- 'originNo',
- 'money',
- 'afterMoney',
- 'type',
- 'source',
- 'remark',
- 'createTime',
- 'updateTime',
- 'extends',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|