validation_code = $randstring; } public function getUser() { return User::query()->where("id", "=", $this->user_id)->first(); } }