Blame view

addons/exam/model/QuestionCollectModel.php 251 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
  <?php

  

  namespace addons\exam\model;

  

  

  class QuestionCollectModel extends \app\admin\model\exam\QuestionCollectModel

  {

      public function question()

      {

          return $this->belongsTo(QuestionModel::class, 'question_id', 'id');

      }

  }