1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace JinDouYun\Dao\Order;
- use JinDouYun\Dao\BaseDao;
- class DSupplierOrderIndex extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'supplier_order_index';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "orderId",
- "purchaseStatus",
- "no",
- "reservoir",
- "supplierId",
- "createTime",
- "updateTime",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|