派生自 development/c++

xuxiuxi
2019-03-08 c5b9ce0c0cf973575a936df3aa928d4b7a7fa7d2
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
 
#ifndef VSSDOMAINUNITTBL_H
#define VSSDOMAINUNITTBL_H
#include <mysql++.h>
#include <string>
using std::string;
 
#define VssDomainUnitTbl_ID "ID"
#define VssDomainUnitTbl_DevPubID "DevPubID"
#define VssDomainUnitTbl_DomainPubID "DomainPubID"
#define VssDomainUnitTbl_Name "Name"
#define VssDomainUnitTbl_BusinessGroupID "BusinessGroupID"
#define VssDomainUnitTbl_ParentId "ParentId"
#define VssDomainUnitTbl_DomainType "DomainType"
#define VssDomainUnitTbl_UpdateTime "UpdateTime"
 
/**
 * 创建一级设备表
 */
class VssDomainUnitTbl {
public:
    int ID                   ; 
    std::string DevPubID     ; 
    std::string DomainPubID  ; 
    std::string Name         ; 
    std::string BusinessGroupID; 
    std::string ParentId     ; 
    int DomainType           ; 
    std::string UpdateTime   ; 
public:
    /** 创建一级设备表 构造函数*/
    VssDomainUnitTbl() {
        ID = 0                   ;
        DevPubID = ""            ;
        DomainPubID = ""         ;
        Name = ""                ;
        BusinessGroupID = ""     ;
        ParentId = ""            ;
        DomainType = 0           ;
        UpdateTime = ""          ;
    }
};
 
 
#endif //VSSDOMAINUNITTBL_H