added some more entities for work demo
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef TASK_STATE_HPP
|
||||
#define TASK_STATE_HPP
|
||||
|
||||
#include "matador/utils/enum_mapper.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace work::models::jobs {
|
||||
enum class TaskState : uint8_t {
|
||||
Active,
|
||||
Inactive
|
||||
};
|
||||
|
||||
static const matador::utils::enum_mapper<TaskState> TaskStateEnum({
|
||||
{TaskState::Active, "Active"},
|
||||
{TaskState::Inactive, "Inactive"}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif //TASK_STATE_HPP
|
||||
Reference in New Issue
Block a user