123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace JinDouYun\Dao\Price;
- use JinDouYun\Dao\BaseDao;
- /**
- * @copyright Copyright (c) https://www.qianniaovip.com All rights reserved
- * Description: 供应商报价单详情
- * Class DSupplierOfferPriceSheetDetails
- * @package JinDouYun\Dao\Price
- */
- class DSupplierOfferPriceSheetDetails extends BaseDao
- {
- public function __construct($serviceDB = 'price')
- {
- $this->_table = 'supplierOfferPrice_sheet_details';
- $this->_primary = 'id';
- $this->_fields = [
- "id",//int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
- "supplierId",//int(10) DEFAULT '0' COMMENT '供应商id',
- "linkId",//int(10) DEFAULT '0' COMMENT '单据id',
- "materielId",//
- "offerPrice",//json NOT NULL COMMENT '价格数据',
- "deleteStatus",//
- "createTime",//int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
- "updateTime",//int(10) NOT NULL DEFAULT '0' COMMENT '更新时间',
- "extends",//json DEFAULT NULL COMMENT '拓展字段',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|