| | |
| | | |
| | | #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 |
| | | |
| | | |
| | |
|
| | | #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
|
| | |
|
| | |
|