Structure change

This commit is contained in:
TinyAtoms
2019-05-28 18:02:52 -03:00
parent 843aa42159
commit 2450e1009b
7 changed files with 0 additions and 0 deletions

19
headers/Park_spot.h Normal file
View File

@ -0,0 +1,19 @@
#include "Customer.h"
/*
db representation:
int id not null
bool taken not null
int customer_id (null) (many to one, foreign key, whatever)
*/
class Park_spot {
public:
int id;
bool taken;
Customer* parked; //TODO: think about memory management
Park_spot(int id_);
void clock(Customer* c_customer);
private:
};