ALL objects can be saved to db now
This commit is contained in:
@ -15,7 +15,11 @@ class Park_spot {
|
||||
int id;
|
||||
bool taken;
|
||||
Customer* parked; //TODO: think about memory management
|
||||
Park_spot(int id_);
|
||||
Park_spot();
|
||||
void clock(Customer* c_customer);
|
||||
private:
|
||||
void save_db();
|
||||
void update_db();
|
||||
void delete_db();
|
||||
int auto_increment_db();
|
||||
};
|
Reference in New Issue
Block a user