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 | /* |
2 | * Primary developers: Hedin & Kevin |
3 | */ |
4 | |
5 | #pragma once |
6 | |
7 | #include <vector> |
8 | using namespace std; |
9 | |
10 | enum EquipmentStatus { |
11 | StatusCheckedout=1, |
12 | StatusReserved=2, |
13 | StatusAvailable=3 |
14 | }; |
15 | |
16 | class Person |
17 | { |
18 | public: |
19 | CString id, inits, name, pass; |
20 | bool isadmin; |
21 | }; |
22 | |
23 | class Reservation |
24 | { |
25 | public: |
26 | CString reservationID,inits, startdate; |
27 | }; |
28 | |
29 | class Checkout |
30 | { |
31 | public: |
32 | CString inits, startdate, enddate, numdays; |
33 | }; |
34 | |
35 | class Equipment |
36 | { |
37 | public: |
38 | CString barcode, name,description, placement, status; |
39 | int statusid; |
40 | vector<Checkout> checkouts; |
41 | vector<Reservation> reservations; |
42 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |