/** * @return \yii\db\ActiveQuery */ public function getClsses() { return $this->hasMany(Clss::className(), ['clss_tchr_id' => 'tchr_id']); }