/** * @return \yii\db\ActiveRelation */ public function getPoint() { return $this->hasOne(LocationPoint::className(), ['id' => 'id']); }