DOrderLog.Class.php 1.0 KB

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