From 17675f1c6447b6e014b520608ce6d5f1f2e9707a Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期一, 04 三月 2019 16:28:42 +0800 Subject: [PATCH] add models, daos and controllers for tables. --- QiaoJiaSystem/DataManagerServer/vss/model/VssUpperSvrTbl.h | 142 +++++++++++++++++++++++----------------------- 1 files changed, 71 insertions(+), 71 deletions(-) diff --git a/QiaoJiaSystem/DataManagerServer/vss/model/VssUpperSvrTbl.h b/QiaoJiaSystem/DataManagerServer/vss/model/VssUpperSvrTbl.h index 87d58a1..e9cb8ed 100755 --- a/QiaoJiaSystem/DataManagerServer/vss/model/VssUpperSvrTbl.h +++ b/QiaoJiaSystem/DataManagerServer/vss/model/VssUpperSvrTbl.h @@ -1,71 +1,71 @@ - -#ifndef VSSUPPERSVRTBL_H -#define VSSUPPERSVRTBL_H -#include <mysql++.h> -#include <string> -using std::string; - -#define VssUpperSvrTbl_ID "ID" -#define VssUpperSvrTbl_Name "Name" -#define VssUpperSvrTbl_PublicID "PublicID" -#define VssUpperSvrTbl_AuthUsername "AuthUsername" -#define VssUpperSvrTbl_AuthPasswd "AuthPasswd" -#define VssUpperSvrTbl_Domain "Domain" -#define VssUpperSvrTbl_IP "IP" -#define VssUpperSvrTbl_Port "Port" -#define VssUpperSvrTbl_RegisterTime "RegisterTime" -#define VssUpperSvrTbl_KeepAliveTime "KeepAliveTime" -#define VssUpperSvrTbl_Alive "Alive" -#define VssUpperSvrTbl_IsSyncTime "IsSyncTime" -#define VssUpperSvrTbl_PushProtocol "PushProtocol" -#define VssUpperSvrTbl_PlatformInfo "PlatformInfo" -#define VssUpperSvrTbl_IsEnable "IsEnable" -#define VssUpperSvrTbl_UpdateTime "UpdateTime" - -/** - * 鍒涘缓涓婄骇骞冲彴鏈嶅姟鍣ㄨ〃 - */ -class VssUpperSvrTbl { -public: - int ID ; - std::string Name ; - std::string PublicID ; - std::string AuthUsername ; - std::string AuthPasswd ; - std::string Domain ; - std::string IP ; - int Port ; - int RegisterTime ; - int KeepAliveTime ; - int Alive ; - int IsSyncTime ; - int PushProtocol ; - int PlatformInfo ; - int IsEnable ; - std::string UpdateTime ; -public: - /** 鍒涘缓涓婄骇骞冲彴鏈嶅姟鍣ㄨ〃 鏋勯�犲嚱鏁�*/ - VssUpperSvrTbl() { - ID = 0 ; - Name = "" ; - PublicID = "" ; - AuthUsername = "" ; - AuthPasswd = "" ; - Domain = "" ; - IP = "" ; - Port = 0 ; - RegisterTime = 0 ; - KeepAliveTime = 0 ; - Alive = 0 ; - IsSyncTime = 0 ; - PushProtocol = 0 ; - PlatformInfo = 0 ; - IsEnable = 0 ; - UpdateTime = "" ; - } -}; - - -#endif //VSSUPPERSVRTBL_H - - + +#ifndef VSSUPPERSVRTBL_H +#define VSSUPPERSVRTBL_H +#include <mysql++.h> +#include <string> +using std::string; + +#define VssUpperSvrTbl_ID "ID" +#define VssUpperSvrTbl_Name "Name" +#define VssUpperSvrTbl_PublicID "PublicID" +#define VssUpperSvrTbl_AuthUsername "AuthUsername" +#define VssUpperSvrTbl_AuthPasswd "AuthPasswd" +#define VssUpperSvrTbl_Domain "Domain" +#define VssUpperSvrTbl_IP "IP" +#define VssUpperSvrTbl_Port "Port" +#define VssUpperSvrTbl_RegisterTime "RegisterTime" +#define VssUpperSvrTbl_KeepAliveTime "KeepAliveTime" +#define VssUpperSvrTbl_Alive "Alive" +#define VssUpperSvrTbl_IsSyncTime "IsSyncTime" +#define VssUpperSvrTbl_PushProtocol "PushProtocol" +#define VssUpperSvrTbl_PlatformInfo "PlatformInfo" +#define VssUpperSvrTbl_IsEnable "IsEnable" +#define VssUpperSvrTbl_UpdateTime "UpdateTime" + +/** + * 鍒涘缓涓婄骇骞冲彴鏈嶅姟鍣ㄨ〃 + */ +class VssUpperSvrTbl { +public: + int ID ; + std::string Name ; + std::string PublicID ; + std::string AuthUsername ; + std::string AuthPasswd ; + std::string Domain ; + std::string IP ; + int Port ; + int RegisterTime ; + int KeepAliveTime ; + int Alive ; + int IsSyncTime ; + int PushProtocol ; + int PlatformInfo ; + int IsEnable ; + std::string UpdateTime ; +public: + /** 鍒涘缓涓婄骇骞冲彴鏈嶅姟鍣ㄨ〃 鏋勯�犲嚱鏁�*/ + VssUpperSvrTbl() { + ID = 0 ; + Name = "" ; + PublicID = "" ; + AuthUsername = "" ; + AuthPasswd = "" ; + Domain = "" ; + IP = "" ; + Port = 0 ; + RegisterTime = 0 ; + KeepAliveTime = 0 ; + Alive = 0 ; + IsSyncTime = 0 ; + PushProtocol = 0 ; + PlatformInfo = 0 ; + IsEnable = 0 ; + UpdateTime = "" ; + } +}; + + +#endif //VSSUPPERSVRTBL_H + + -- Gitblit v1.8.0