Add multimap for dailly ticket.w

This commit is contained in:
Gerhard Hoffmann 2023-12-15 13:27:02 +01:00
parent bb83ae3074
commit 3d3794ea4e

View File

@ -21,6 +21,9 @@
#include "period_year.h"
#include "payment_rate.h"
#include "atb_project.h"
#include "tariff_daily_ticket.h"
#include <QVector>
using namespace std;
using namespace rapidjson;
@ -41,6 +44,7 @@ public:
multimap<int, ATBPeriodYear> YearPeriod;
multimap<int, ATBWeekDaysWorktime> WeekDaysWorktime;
multimap<int, ATBPaymentOption> PaymentOption;
multimap<int, ATBDailyTicket> DailyTicket;
/// <summary>
/// Parse JSON string
@ -49,7 +53,8 @@ public:
/// <returns>Returns operation status bool (OK | FAIL) </returns>
bool ParseJson(Configuration* cfg, const char* json);
ATBPaymentOption const & getPaymentOptions();
ATBPaymentOption const &getPaymentOptions();
QVector<ATBDailyTicket> const &getDailyTickets() const;
private:
/// <summary>