OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Group.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4#include <cstdint>
5#include <vector>
6#include <list>
7#include <bsoncxx/json.hpp>
8#include <bsoncxx/types.hpp>
9#include <mongocxx/client.hpp>
10#include <mongocxx/stdx.hpp>
11#include <mongocxx/uri.hpp>
12#include <mongocxx/instance.hpp>
13#include <bsoncxx/builder/stream/helpers.hpp>
14#include <bsoncxx/builder/stream/document.hpp>
15#include <bsoncxx/builder/stream/array.hpp>
16
17#include "User.h"
18
19class Group
20{
21public:
22// bsoncxx::document::value document_value{ bsoncxx::builder::basic::document{}.extract() };
23
24// bsoncxx::oid _id;
25 std::string id;
26 std::string name;
27 std::string roleName;
28 std::string ownerUserId;
29 std::vector<User> users{};
30 std::list<std::string> userNames{};
31
32 std::string ownerUsername;
33};
34
Definition Group.h:20
std::string roleName
Definition Group.h:27
std::list< std::string > userNames
Definition Group.h:30
std::vector< User > users
Definition Group.h:29
std::string ownerUserId
Definition Group.h:28
std::string name
Definition Group.h:26
std::string ownerUsername
Definition Group.h:32
std::string id
Definition Group.h:25