criteria progress
This commit is contained in:
@@ -3,14 +3,16 @@
|
||||
|
||||
#include "../core/Model.hpp"
|
||||
|
||||
#include "matador/query/meta_table_macro.hpp"
|
||||
|
||||
#include "matador/utils/base_class.hpp"
|
||||
#include "matador/utils/foreign_attributes.hpp"
|
||||
|
||||
namespace work::models::jobs {
|
||||
struct Job;
|
||||
struct Payload : core::Model {
|
||||
std::string type;
|
||||
matador::object::object_ptr<Job> job;
|
||||
std::string type{};
|
||||
matador::object::object_ptr<Job> job{};
|
||||
|
||||
template<typename Operator>
|
||||
void process( Operator& op ) {
|
||||
@@ -22,4 +24,6 @@ struct Payload : core::Model {
|
||||
};
|
||||
}
|
||||
|
||||
META_TABLE(payloads, PAYLOAD, id, version, type, job)
|
||||
|
||||
#endif //PAYLOAD_HPP
|
||||
|
||||
Reference in New Issue
Block a user