派生自 development/c++

pansen
2019-03-07 d3b7bbe7102cd089680a828f5d8f6402c8cf6342
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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