You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
398 B
22 lines
398 B
#include "UserEntity.h"
|
|
|
|
QX_REGISTER_CPP_EXPORT_DLL(UserEntity)
|
|
|
|
namespace qx {
|
|
template<>
|
|
void register_class(QxClass<UserEntity> &t)
|
|
{
|
|
t.setName("DATATEST.USER_TEST");
|
|
|
|
auto pk = t.id(&UserEntity::id, "id");
|
|
|
|
pk->setAutoIncrement(false);
|
|
|
|
t.data(&UserEntity::username, "username");
|
|
}
|
|
} // namespace qx
|
|
|
|
UserEntity::UserEntity() : Entity() {}
|
|
|
|
UserEntity::~UserEntity() = default;
|