Included XML files for the "pay to new number" and "pay to old number" features in the Ozon platform.
18 lines
577 B
C++
18 lines
577 B
C++
#pragma once
|
|
#include <QByteArray>
|
|
#include <QList>
|
|
#include "db/AppLogEntry.h"
|
|
|
|
class AppLogDAO {
|
|
public:
|
|
[[nodiscard]] static bool insert(const AppLogEntry &entry);
|
|
|
|
// Возвращает записи без BLOB-скриншота (лёгкая загрузка для таблицы)
|
|
[[nodiscard]] static QList<AppLogEntry> getLogs(int page, int pageSize);
|
|
|
|
[[nodiscard]] static int getTotalCount();
|
|
|
|
// Загружает скриншот отдельно по id (по клику в UI)
|
|
[[nodiscard]] static QByteArray getScreenshot(int id);
|
|
};
|