first commit

This commit is contained in:
lidg
2026-08-18 09:40:43 +08:00
commit 0c4fd6844c
70 changed files with 8721 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef LOGREPOSITORY_H
#define LOGREPOSITORY_H
#include "../models/logrecord.h"
#include <QList>
class LogRepository
{
public:
QList<LogRecord> listLogs(QString *error = nullptr, int limit = 200);
bool insertLog(const LogRecord &record, QString *error = nullptr);
};
#endif // LOGREPOSITORY_H