budget/src/data/accountData.h

30 lines
447 B
C
Raw Normal View History

//
// Created by quentin on 8/4/22.
//
#ifndef BUDGET_ACCOUNTDATA_H
#define BUDGET_ACCOUNTDATA_H
#include "data.h"
#include "../money/account.h"
static const char *jsonTemplate = "";
class AccountData : private Data<Account> {
public:
2022-08-12 16:58:16 -05:00
explicit AccountData(const std::string &file);
Account *getAccount();
private:
Account account;
Account createObject() override;
bool isJsonCorrect() override;
};
#endif //BUDGET_ACCOUNTDATA_H