1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace JinDouYun\Dao\Commission;
- use JinDouYun\Dao\BaseDao;
- class DCommissionOrder extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'commission_order';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "userCenterId",
- "customerId",
- "orderId",
- "orderNo",
- "goodsId",
- "skuId",
- "goodsPrice",
- "retUserCenterId",
- "retCustomerId",
- "retMoney",
- "retLevel",
- "retGrade",
- "isSettled",
- "settleTime",
- "isSelf",
- "createTime",
- "updateTime",
- "extends",
- "retRate",
- "buyNum",
- "goodsName",
- "shopName",
- "unitName",
- "specGroup",
- "goodsImages",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|