/** * @return \yii\db\ActiveQuery */ public function getSeason() { return $this->hasOne(Seasons::className(), ['id' => 'season_id']); }