/** * @return \yii\db\ActiveQuery */ public function getAction() { return $this->hasOne(\app\models\Action::className(), ['id' => 'action_id']); }