public function getGeneral() { # code... return $this->hasOne(Termgeneral::className(), ['ID' => 'GENERAL_TERM']); }