Parent Directory | Revision Log
Whoops, I forgot the rest of the files :(In the dialogs, work on status id instead of status text, which is much more safe in case the status text changes
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 | 56 | enum EquipmentStatus { |
11 | StatusCheckedout=1, | ||
12 | StatusReserved=2, | ||
13 | StatusAvailable=3 | ||
14 | }; | ||
15 | |||
16 | torben | 33 | class Person |
17 | torben | 7 | { |
18 | public: | ||
19 | CString id, inits, name, pass; | ||
20 | bool isadmin; | ||
21 | }; | ||
22 | |||
23 | class Reservation | ||
24 | { | ||
25 | public: | ||
26 | torben | 27 | CString reservationID,inits, startdate; |
27 | torben | 7 | }; |
28 | |||
29 | class Checkout | ||
30 | { | ||
31 | public: | ||
32 | torben | 18 | CString inits, startdate, enddate, numdays; |
33 | torben | 7 | }; |
34 | |||
35 | torben | 9 | class Equipment |
36 | torben | 7 | { |
37 | public: | ||
38 | CString barcode, name,description, placement, status; | ||
39 | torben | 56 | int statusid; |
40 | torben | 16 | vector<Checkout> checkouts; |
41 | vector<Reservation> reservations; | ||
42 | torben | 7 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |