// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include #include #include #include "Interface/SMSRecord.hpp" namespace db::query { class SMSGetByThreadID : public Query { public: unsigned int threadId; unsigned int offset; unsigned int limit; SMSGetByThreadID(unsigned int id, unsigned int offset = 0, unsigned int limit = 0); [[nodiscard]] auto debugInfo() const -> std::string override; }; class SMSGetByThreadIDResult : public QueryResult { std::vector result; public: SMSGetByThreadIDResult(std::vector result); [[nodiscard]] auto getResults() const -> std::vector; [[nodiscard]] auto debugInfo() const -> std::string override; }; } // namespace db::query