Add multimap for dailly ticket.w
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
#include "period_year.h"
|
#include "period_year.h"
|
||||||
#include "payment_rate.h"
|
#include "payment_rate.h"
|
||||||
#include "atb_project.h"
|
#include "atb_project.h"
|
||||||
|
#include "tariff_daily_ticket.h"
|
||||||
|
|
||||||
|
#include <QVector>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace rapidjson;
|
using namespace rapidjson;
|
||||||
@@ -41,6 +44,7 @@ public:
|
|||||||
multimap<int, ATBPeriodYear> YearPeriod;
|
multimap<int, ATBPeriodYear> YearPeriod;
|
||||||
multimap<int, ATBWeekDaysWorktime> WeekDaysWorktime;
|
multimap<int, ATBWeekDaysWorktime> WeekDaysWorktime;
|
||||||
multimap<int, ATBPaymentOption> PaymentOption;
|
multimap<int, ATBPaymentOption> PaymentOption;
|
||||||
|
multimap<int, ATBDailyTicket> DailyTicket;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Parse JSON string
|
/// Parse JSON string
|
||||||
@@ -50,6 +54,7 @@ public:
|
|||||||
bool ParseJson(Configuration* cfg, const char* json);
|
bool ParseJson(Configuration* cfg, const char* json);
|
||||||
|
|
||||||
ATBPaymentOption const &getPaymentOptions();
|
ATBPaymentOption const &getPaymentOptions();
|
||||||
|
QVector<ATBDailyTicket> const &getDailyTickets() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user