73 Q_PROPERTY(QList<BmsGaugeInfo> gaugeInfo READ getGaugeInfo CONSTANT)
77 Q_PROPERTY(QString guid READ getGuid CONSTANT)
90 QObject* parent =
nullptr);
94 auto getGuid() const -> QString;
96 void save(
db::SqliteCppDb&
db) const;
97 auto serialize() const -> QByteArray;
98 void save(
db::SqliteCppDb&
db, const QByteArray& serialized) const;
106 static auto load(
const DTO& dto) -> std::unique_ptr<BmsGaugeHistory>;
107 auto toJsonArray() const -> QJsonArray;
108 static auto fromJsonArray(const QJsonArray& array) -> QList<
BmsGaugeInfo>;
The history of all gauges used in a BMS score.
Definition BmsGaugeHistory.h:67
Definition BmsGaugeHistory.h:101
std::string gaugeInfo
Definition BmsGaugeHistory.h:104
int64_t id
Definition BmsGaugeHistory.h:102
std::string scoreGuid
Definition BmsGaugeHistory.h:103