kima2/src/core/sale.h

21 lines
330 B
C
Raw Normal View History

2018-07-11 12:53:18 +02:00
#ifndef SALE_H
#define SALE_H
2018-07-12 13:34:17 +02:00
#include "article.h"
2018-07-11 12:53:18 +02:00
2018-07-12 13:34:17 +02:00
#include <vector>
#include <boost/date_time.hpp>
class Article;
class Sale : public Entity
{
public:
int sumInCents();
private:
boost::posix_time::ptime systemTime_{boost::posix_time::second_clock::local_time()};
std::vector<Article*> articles_{};
2018-07-11 12:53:18 +02:00
};
#endif