Moving Avatars into ORM

This commit is contained in:
stephb9959
2021-12-27 23:19:14 -08:00
parent 2c513d8374
commit 784fc3256b
13 changed files with 167 additions and 321 deletions

View File

@@ -11,6 +11,8 @@
#include <string>
#include "framework/OpenWifiTypes.h"
#include "Poco/JSON/Object.h"
#include "Poco/Data/LOB.h"
#include "Poco/Data/LOBStream.h"
namespace OpenWifi {
namespace SecurityObjects {
@@ -280,5 +282,13 @@ namespace OpenWifi {
bool from_json(Poco::JSON::Object::Ptr &Obj);
};
struct Avatar {
std::string id;
std::string type;
uint64_t created=0;
std::string name;
Poco::Data::LOB<char> avatar;
};
}
}