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