public function getUser() { return $this->hasOne(\anda\user\models\User::className(), ['id' => 'user_id']); }