WIP refractoring

This commit is contained in:
TinyAtoms
2019-06-29 19:59:48 -03:00
parent 8160f84e20
commit a606119626
9 changed files with 27 additions and 17 deletions

View File

@ -1,21 +0,0 @@
#include "Customer.h"
/*
db representation:
int id not null
bool taken not null
int customer_id (null) (many to one, foreign key, whatever)
Dit representeert een parkeerplaats. Het heeft als internal state alleen dat t bezet is of niet.
*/
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:
};