10 lines
198 B
C++

#include "Device.h"
Device::Device(std::string id, std::string name) : id(id), name(name) {}
std::string Device::toString() const {
return " id: " + id + " name: " + name + "\n";
}