/** * @return \yii\db\ActiveQuery */ public function getStuMasterCategory() { return $this->hasOne(StuCategory::className(), ['stu_category_id' => 'stu_master_category_id']); }
/** * @return \yii\db\ActiveQuery */ public function getStuMasterCategory() { return $this->hasOne(StuCategory::className(), ['stu_category_id' => 'stu_master_category_id']); }