예제 #1
0
파일: Comment.php 프로젝트: cjq/QRCode-yii2
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClass()
 {
     return $this->hasOne(Model::className(), ['id' => 'model_class']);
 }