/** *@author: wawan *@return relational database Departement */ public function getDept() { return $this->hasOne(Dept::className(), ['DEP_ID' => 'KD_DEP']); }