blob: 3e1f99fd5edb9a6791ebd8931151f8002fefb187 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace pump
{
// clang-format off
enum class PumpType : std::uint8_t{
Invalid,
Liquid,
Compressor,
};
NLOHMANN_JSON_SERIALIZE_ENUM(PumpType, {
{PumpType::Invalid, "Invalid"},
{PumpType::Liquid, "Liquid"},
{PumpType::Compressor, "Compressor"},
});
} // namespace pump
// clang-format on