New file |
| | |
| | |
|
| | | #ifndef VSSLOCALSETTINGTBL_H
|
| | | #define VSSLOCALSETTINGTBL_H
|
| | | #include <mysql++.h>
|
| | | #include <string>
|
| | | using std::string;
|
| | |
|
| | | #define VssLocalSettingTbl_ID "ID"
|
| | | #define VssLocalSettingTbl_ServerIp "ServerIp"
|
| | | #define VssLocalSettingTbl_ServerPort "ServerPort"
|
| | | #define VssLocalSettingTbl_ServerId "ServerId"
|
| | | #define VssLocalSettingTbl_UserAuthId "UserAuthId"
|
| | | #define VssLocalSettingTbl_Password "Password"
|
| | | #define VssLocalSettingTbl_UpdateTime "UpdateTime"
|
| | |
|
| | | /**
|
| | | * 本地国标配置
|
| | | */
|
| | | class VssLocalSettingTbl {
|
| | | public:
|
| | | int ID ; |
| | | std::string ServerIp ; |
| | | std::string ServerPort ; |
| | | std::string ServerId ; |
| | | std::string UserAuthId ; |
| | | std::string Password ; |
| | | std::string UpdateTime ; |
| | | public:
|
| | | /** 本地国标配置 构造函数*/
|
| | | VssLocalSettingTbl() {
|
| | | ID = 0 ;
|
| | | ServerIp = "" ;
|
| | | ServerPort = "" ;
|
| | | ServerId = "" ;
|
| | | UserAuthId = "" ;
|
| | | Password = "" ;
|
| | | UpdateTime = "" ;
|
| | | }
|
| | | };
|
| | |
|
| | |
|
| | | #endif //VSSLOCALSETTINGTBL_H
|
| | |
|
| | |
|