DSupplierOfferPriceSheetDetails.Class.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace JinDouYun\Dao\Price;
  3. use JinDouYun\Dao\BaseDao;
  4. /**
  5. * @copyright Copyright (c) https://www.qianniaovip.com All rights reserved
  6. * Description: 供应商报价单详情
  7. * Class DSupplierOfferPriceSheetDetails
  8. * @package JinDouYun\Dao\Price
  9. */
  10. class DSupplierOfferPriceSheetDetails extends BaseDao
  11. {
  12. public function __construct($serviceDB = 'price')
  13. {
  14. $this->_table = 'supplierOfferPrice_sheet_details';
  15. $this->_primary = 'id';
  16. $this->_fields = [
  17. "id",//int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  18. "supplierId",//int(10) DEFAULT '0' COMMENT '供应商id',
  19. "linkId",//int(10) DEFAULT '0' COMMENT '单据id',
  20. "materielId",//
  21. "offerPrice",//json NOT NULL COMMENT '价格数据',
  22. "deleteStatus",//
  23. "createTime",//int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  24. "updateTime",//int(10) NOT NULL DEFAULT '0' COMMENT '更新时间',
  25. "extends",//json DEFAULT NULL COMMENT '拓展字段',
  26. ];
  27. $this->_readonly = ['id'];
  28. $this->_create_autofill = [
  29. 'createTime' => time()
  30. ];
  31. $this->_update_autofill = [
  32. 'updateTime' => time()
  33. ];
  34. parent::__construct($serviceDB);
  35. }
  36. }