48 virtual void load(std::shared_ptr<library::SQLStatement> stmt) {};
61 virtual void archive(std::shared_ptr<library::SQLStatement> stmt) {};
virtual void load(std::shared_ptr< library::SQLStatement > stmt)
Load data of entity from DB.
An interface supporting DB-I/O.
virtual void archive(std::shared_ptr< library::SQLStatement > stmt)
Archive data of entity to DB.
virtual auto toSQL() const -> std::string
Get a sql-statement string represents the entity.