123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace JinDouYun\Dao\Stock;
- use JinDouYun\Dao\BaseDao;
- class DLockingShop extends BaseDao
- {
- public function __construct($serviceDB = 'stock')
- {
- $this->_table = 'locking_shop';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "shopId",
- "materielId",
- "materielCode",
- "lockInventory",
- "skuId",
- "updateTime",
- "createTime",
- "extend",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time(),
- 'updateTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|