Included XML files for the "pay to new number" and "pay to old number" features in the Ozon platform.
21 lines
521 B
C++
21 lines
521 B
C++
#pragma once
|
|
|
|
#include <db/EventInfo.h>
|
|
|
|
class EventDAO {
|
|
public:
|
|
[[nodiscard]] static int insertEvent(const EventInfo &event);
|
|
|
|
[[nodiscard]] static bool updateEvent(
|
|
int id,
|
|
const EventStatus &status,
|
|
const QString &comment
|
|
);
|
|
|
|
[[nodiscard]] static QList<EventInfo> getAllEvents(const EventStatus &status);
|
|
|
|
[[nodiscard]] static EventInfo getFirstWaitEventByDeviceId(const QString &key);
|
|
|
|
[[nodiscard]] static bool existsActiveByExternalId(const QString &externalId);
|
|
};
|