#ifndef VSSUPPERSVRTBL_H #define VSSUPPERSVRTBL_H #include #include 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