first commit

This commit is contained in:
bing
2026-04-03 11:32:07 +08:00
commit 003be19522
1142 changed files with 185854 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#ifndef _QX_SERVICE_BO_USER_H_
#define _QX_SERVICE_BO_USER_H_
class QX_SERVICE_DLL_EXPORT user
{
public:
// -- contructor, virtual destructor
user() : id(0) { ; }
virtual ~user() { ; }
// -- properties
long id;
QString first_name;
QString last_name;
QDateTime birth_date;
};
QX_REGISTER_HPP_QX_SERVICE(user, qx::trait::no_base_class_defined, 0)
typedef std::shared_ptr<user> user_ptr;
typedef qx::QxCollection<long, user_ptr> list_of_users;
typedef std::shared_ptr<list_of_users> list_of_users_ptr;
#endif // _QX_SERVICE_BO_USER_H_