DPriceLog.Class.php 983 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: XiaoMing
  5. * Date: 2020/1/3
  6. * Time: 16:10
  7. */
  8. namespace Jobs\Dao;
  9. class DPriceLog extends BaseDao
  10. {
  11. public function __construct($serviceDB = 'log')
  12. {
  13. $this->_table = 'price_log';
  14. $this->_primary = 'id';
  15. $this->_fields = [
  16. "id",//int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
  17. "enterpriseId",//int(11) NOT NULL COMMENT '企业id',
  18. "userCenterId",//int(11) DEFAULT NULL COMMENT 'userCenterId',
  19. "createTime",//int(11) DEFAULT NULL COMMENT '创建时间',
  20. "no",//varchar(225) DEFAULT NULL COMMENT '编码或id',
  21. "actionType",//varchar(225) DEFAULT NULL COMMENT '操作类型',
  22. "operationData",//json DEFAULT NULL COMMENT '操作数据',
  23. ];
  24. $this->_readonly = ['id'];
  25. $this->_create_autofill = [
  26. ];
  27. $this->_update_autofill = [
  28. ];
  29. parent::__construct($serviceDB);
  30. }
  31. }