heavily simplified imports and using directives
This commit is contained in:
@ -1,15 +1,14 @@
|
||||
#ifndef CUSTOMER_H
|
||||
#define CUSTOMER_H
|
||||
#pragma once
|
||||
#include "../thirdparty/SQLiteCpp/include/SQLiteCpp/SQLiteCpp.h"
|
||||
#include "Park_time.h"
|
||||
#include <ctime>
|
||||
#include <random>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "data.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
#include "Park_time.h"
|
||||
#include "data.h"
|
||||
#include <random>
|
||||
#include <vector>
|
||||
|
||||
|
||||
using std::vector;
|
||||
|
||||
// will make it easy to represent it in the database while making it easy to use while programming
|
||||
@ -32,7 +31,7 @@ class Customer {
|
||||
Customer(string name_, Verhicle_type verhicle_);
|
||||
Customer(int id_, string name_, string card_code_, Verhicle_type verhicle_,
|
||||
vector<Park_time> instances); // needed to construct from db
|
||||
// potentially: add a destructor that calls update_db() before being destroyed
|
||||
~Customer();
|
||||
int id;
|
||||
string name;
|
||||
string card_code;
|
||||
|
Reference in New Issue
Block a user