MOBILISIS-Calculator/library/include/mobilisis/tariff_comp_state.h

21 lines
487 B
C++

#ifndef TARIFF_COMP_STATE_H_INCLUDED
#define TARIFF_COMP_STATE_H_INCLUDED
#include <QDateTime>
struct TariffCompState {
QDateTime const m_start;
int m_nettoParkingTimeTotal = 0;
int m_bruttoParkingTimeTotal = 0;
int m_priceTotal = 0;
explicit TariffCompState(QDateTime start)
: m_start(std::move(start))
, m_nettoParkingTimeTotal(0)
, m_bruttoParkingTimeTotal(0)
, m_priceTotal(0) {
}
};
#endif // TARIFF_COMP_STATE_H_INCLUDED