#include "basicentity.h" BasicEntity::BasicEntity(): id(), name() { } BasicEntity::BasicEntity(int id, QString name) { this->id = id; this->name = name; }