added session test (progress)
This commit is contained in:
@@ -10,14 +10,15 @@
|
||||
#include "matador/sql/entity.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace matador::test {
|
||||
|
||||
struct flight
|
||||
{
|
||||
flight() = default;
|
||||
flight(unsigned long id, const sql::entity<airplane> &plane, const std::string &name)
|
||||
: id(id), airplane(plane), pilot_name(name) {}
|
||||
flight(unsigned long id, const sql::entity<airplane> &plane, std::string name)
|
||||
: id(id), airplane(plane), pilot_name(std::move(name)) {}
|
||||
|
||||
unsigned long id{};
|
||||
sql::entity<test::airplane> airplane;
|
||||
|
||||
Reference in New Issue
Block a user