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