派生自 development/c++

xuxiuxi
2019-03-08 5bf0020b189b2bc8c64737c2af4ea77c3e8f5612
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
#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