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

21 lines
487 B
C
Raw Normal View History

2024-10-21 14:31:08 +02:00
#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