123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- namespace Jobs\Dao\Stock;
- use Jobs\Dao\BaseDao;
- class DInventoryOut extends BaseDao
- {
- public function __construct($serviceDB = 'stock')
- {
- $this->_table = 'inventory_out';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "no",
- "sourceId",
- "sourceNo",
- "originNo",
- "originId",
- "materielNum",
- "amount",
- "shopId",
- "shopName",
- "operatorId",
- "operatorName",
- "auditId",
- "auditName",
- "customerId",
- "customerName",
- "customerCode",
- "customerMobile",
- "remark",
- "source",
- "deliveryType",
- "type",
- "deleteStatus",
- "outStatus",
- "auditStatus",
- "auditTime",
- "createTime",
- "updateTime",
- "extend",
- "serialNum",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|