4#include "include/schema/abstract_table_item.h"
6namespace ehm_dal::schema {
28 TV_DONT_MOVE_ANY_MATCHES,
38 inline bool init()
override {
return false; }
42 auto operator<=>(
const TvDate &rhs)
const;
43 bool operator<(
const TvDate &rhs)
const;
60 std::unique_ptr<Data> data_;
The DatabaseVersion class represents the database version number.
Definition: database_version.h:12
The AbstractTableItem class represents a row in a Table with no primary key (id/uid) field.
Definition: abstract_table_item.h:23
The TvDate class handles data needed for scheduling games between different arenas on the same schedu...
Definition: tv_date.h:13
bool read(QDataStream &in, ehm_dal::database::DatabaseVersion &version) override
Reads a table row from the QDataStream.
bool init() override
Initialises the table item members. This only needs to be called once per item.
Definition: tv_date.h:38
bool write(QDataStream &out, ehm_dal::database::DatabaseVersion &version) override
Writes a table row to the QDataStream.