-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclasses.h
More file actions
62 lines (51 loc) · 1.17 KB
/
classes.h
File metadata and controls
62 lines (51 loc) · 1.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// Created by Ondřej Paatz on 02.05.2024.
//
#include <iostream>
#include <vector>
using namespace std;
#ifndef PROGRAMSWITHOR_CLASSES_H
#define PROGRAMSWITHOR_CLASSES_H
#endif //PROGRAMSWITHOR_CLASSES_H
class User {
public:
vector<int> likes;
int id;
string TIE;
User(int id, vector<int> likes, string TIE);
};
class Lecture {
public:
int id;
string name;
string time;
string time2;
int capacity;
Lecture(int id, string name, string time, string time2, int capacity);
};
class Block {
public:
int id;
vector<Lecture> lectures;
int type; //0 - normal, 1 - sluzba
Block(int id, vector<Lecture> lectures, int type);
};
class RUser {
public:
int id;
Lecture lecture;
string TIE;
int lectureInstance;
RUser(int id, string tie, int lectureId, string lectureName, string lectureTime, string lectureTime2, int lectureCapacity);
};
class RGroup {
public:
int id;
string publicId;
vector<RUser> users;
string type;
RGroup(int id, string publicId, vector<RUser> users, string type);
};
vector<Block> import_blocks(string import_file);
vector<string> userExportColumns();
vector<string> putovaniTies();