17 lines
427 B
C++
17 lines
427 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
struct TaskRow {
|
|
std::string id;
|
|
std::optional<std::string> account;
|
|
std::string status; // serialized, see StatusUtil::serialize
|
|
std::string notes; // free text, any length (stored as SQLite TEXT)
|
|
};
|
|
|
|
struct AccountRow {
|
|
std::string id;
|
|
std::optional<std::string> cooldown; // the account's wait: when its limit ends (StatusUtil::timeToText)
|
|
};
|