added read typed entity with foreign key

This commit is contained in:
2023-11-23 22:23:45 +01:00
parent 72bc6db6b3
commit 700cbc0652
4 changed files with 81 additions and 68 deletions
+5
View File
@@ -16,6 +16,11 @@ namespace matador::test {
struct airplane
{
airplane() = default;
airplane(unsigned long id, std::string b, std::string m)
: id(id)
, brand(std::move(b))
, model(std::move(m)) {}
unsigned long id;
std::string brand;
std::string model;