AutoCatGnome/models/Engine.h

22 lines
384 B
C++

//
// Created by selim on 06.11.22.
//
#ifndef AUTOCAT_GNOME_ENGINE_H
#define AUTOCAT_GNOME_ENGINE_H
#include <nlohmann/json.hpp>
class Engine {
public:
std::string number;
int volume;
float powerHp;
float powerKw;
std::string fuelType;
NLOHMANN_DEFINE_TYPE_INTRUSIVE(Engine, number, volume, powerHp, powerKw, fuelType)
};
#endif //AUTOCAT_GNOME_ENGINE_H