// // Created by arch on 26.10.17. // #include "Vehicle.h" #include "Client.h" #include "boost/date_time/local_time/local_time.hpp" #include "boost/date_time/posix_time/posix_time.hpp" #include #include // uuid class #include // generators #include // streaming operators. #ifndef POBIPROJECT_RENT_H #define POBIPROJECT_RENT_H namespace lt = boost::local_time; Vehicle vehicle(); class Client; class Rent{ std::string uniqId; const lt::local_date_time startRentData; lt::local_date_time stopRentData; int rentDays; int price; int rentCost; Vehicle* vehicle; Client* client; public: Rent(const lt::local_date_time &startRentData, Vehicle *vehicle, Client *client); std:: string rentInfo(); float stopRent( lt::local_date_time ldt); }; #endif //POBIPROJECT_RENT_H