12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace JinDouYun\Dao\Stock;
- use JinDouYun\Dao\BaseDao;
- class DAllocateDetails extends BaseDao
- {
- public function __construct($serviceDB = 'stock')
- {
- $this->_table = 'allocate_details';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "linkId",
- "linkNo",
- "materielId",
- "materielName",
- "materielCode",
- "skuId",
- "num",
- "otherNum",
- "costUnitPrice",
- "deleteStatus",
- "createTime",
- "updateTime",
- "extend",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|