33 lines
442 B
C++
33 lines
442 B
C++
#ifndef ACCOUNT_H
|
|
#define ACCOUNT_H
|
|
|
|
#include <list>
|
|
#include <map>
|
|
#include <wx/wx.h>
|
|
|
|
struct operation {
|
|
wxString id;
|
|
unsigned int day;
|
|
unsigned int month;
|
|
unsigned int year;
|
|
int amount;
|
|
wxString description;
|
|
wxString category;
|
|
bool fix_cost;
|
|
} ;
|
|
|
|
class Account
|
|
{
|
|
public:
|
|
~Account();
|
|
|
|
wxString _id;
|
|
wxString _name;
|
|
wxString _number;
|
|
int _amount;
|
|
bool _shared;
|
|
bool _default;
|
|
};
|
|
|
|
#endif
|