1 |
torben |
7 |
|
2 |
|
|
#pragma once
|
3 |
|
|
#include <vector>
|
4 |
|
|
using namespace std;
|
5 |
|
|
|
6 |
|
|
struct Person
|
7 |
|
|
{
|
8 |
|
|
public:
|
9 |
|
|
CString id, inits, name, pass;
|
10 |
|
|
bool isadmin;
|
11 |
|
|
};
|
12 |
|
|
|
13 |
|
|
class Reservation
|
14 |
|
|
{
|
15 |
|
|
public:
|
16 |
|
|
CString inits, startdate, numdays;
|
17 |
|
|
};
|
18 |
|
|
|
19 |
|
|
class Checkout
|
20 |
|
|
{
|
21 |
|
|
public:
|
22 |
torben |
18 |
CString inits, startdate, enddate, numdays;
|
23 |
torben |
7 |
};
|
24 |
|
|
|
25 |
torben |
9 |
class Equipment
|
26 |
torben |
7 |
{
|
27 |
|
|
public:
|
28 |
|
|
CString barcode, name,description, placement, status;
|
29 |
torben |
16 |
vector<Checkout> checkouts;
|
30 |
|
|
vector<Reservation> reservations;
|
31 |
torben |
7 |
}; |