1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace JinDouYun\Dao\Merchant;
- use JinDouYun\Dao\BaseDao;
- class DMerchantSettlement extends BaseDao
- {
- public function __construct($serviceDB = 'finance')
- {
- $this->_table = 'qianniao_merchant_settlement_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'orderNo',
- 'orderId',
- 'goodId',
- 'goodName',
- 'goodPrice',
- 'goodMoney',
- 'MerchantId',
- 'MerchantName',
- 'settlementStatus',
- 'createTime',
- 'outStockTime',
- 'finishTime',
- "updateTime",
- "extends",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|