OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Project Class Reference

#include "Project.h"

Public Member Functions

 Project (const bsoncxx::v_noabi::document::view &_view, mongocxx::client &_userClient)
 
 Project ()=default
 

Public Attributes

bsoncxx::oid _id
 
std::string name = ""
 
std::string type = ""
 
std::string roleName =""
 
std::string collectionName = ""
 
bsoncxx::types::b_date createdOn { std::chrono::system_clock::now() }
 
User creatingUser
 
std::vector< Groupgroups {}
 
int version = -1
 
bsoncxx::types::b_date lastAccessedOn { std::chrono::system_clock::now() }
 

Constructor & Destructor Documentation

◆ Project() [1/2]

Project::Project ( const bsoncxx::v_noabi::document::view & _view,
mongocxx::client & _userClient )
inline

◆ Project() [2/2]

Project::Project ( )
default

Member Data Documentation

◆ _id

bsoncxx::oid Project::_id

◆ collectionName

std::string Project::collectionName = ""

◆ createdOn

bsoncxx::types::b_date Project::createdOn { std::chrono::system_clock::now() }

◆ creatingUser

User Project::creatingUser

◆ groups

std::vector<Group> Project::groups {}

◆ lastAccessedOn

bsoncxx::types::b_date Project::lastAccessedOn { std::chrono::system_clock::now() }

◆ name

std::string Project::name = ""

◆ roleName

std::string Project::roleName =""

◆ type

std::string Project::type = ""

◆ version

int Project::version = -1

The documentation for this class was generated from the following file: