DLoginLog.Class.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: wxj
  5. * Date: 2019/11/28
  6. * Time: 10:20
  7. */
  8. namespace Jobs\Dao;
  9. use Jobs\Dao\BaseDao;
  10. class DLoginLog extends BaseDao
  11. {
  12. public function __construct($serviceDB = 'log')
  13. {
  14. $this->_table = 'login_log_2019_12';
  15. $this->_primary = 'id';
  16. $this->_fields = [
  17. 'userCenterId',//int(11) DEFAULT NULL COMMENT '会员id',
  18. 'enterpriseId',//int(11) DEFAULT NULL COMMENT '企业id',
  19. 'mobile',//varchar(255) DEFAULT NULL COMMENT '注册手机号码',
  20. 'createTime',//varchar(20) DEFAULT NULL COMMENT '操作时间',
  21. 'source',//varchar(50) DEFAULT NULL COMMENT '来源'
  22. 'actionType',//varchar(255) DEFAULT NULL COMMENT '操作类型',
  23. 'operationData',//json DEFAULT NULL COMMENT '提交数据',
  24. ];
  25. $this->_readonly = ['id'];
  26. $this->_create_autofill = [
  27. ];
  28. $this->_update_autofill = [
  29. ];
  30. parent::__construct($serviceDB);
  31. }
  32. }