dmpserverproject.h
1.2 KB
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
/**************************************************************************
* file: dmpserverproject.h
* Author: wanzhongping
* Date: 2021-11-08 19:17:10
* Email: zhongpingw@chinadci.com
* copyright: 广州城市信息研究所有限公司
***************************************************************************/
#ifndef __dmpserverproject_h__
#define __dmpserverproject_h__
#include "dmap_server.h"
#include <string>
#include <vector>
#include "dmpproject.h"
class SERVER_EXPORT DmpServerProject
{
public:
DmpServerProject(const std::string &name, const std::string &title, const DmpProject *project);
std::string createTime() { return time_;}
const DmpProject* project() const { return project_;}
std::string name() const { return name_;}
std::string title() const { return title_;}
int status() { return status_;}
void setStatus(int status) { status_ = status;}
private:
std::string name_;
std::string title_;
std::string time_;
int status_;
int flag_;
const DmpProject *project_ = nullptr;
};
#endif // __dmpserverproject_h__