KissCount/model/Account.h
Grégory Soutadé ee8d4c0c8f Initial commit
A good base to start working
2010-05-14 15:04:01 +02:00

29 lines
471 B
C++

#ifndef ACCOUNT_H
#define ACCOUNT_H
#include <list>
#include <map>
struct operation {
unsigned int day;
unsigned int month;
unsigned int year;
unsigned int amount;
std::string description;
std::string category;
bool fix_cost;
} ;
class Account
{
private:
std::string _name;
std::string _number;
std::map<unsigned int, std::map<unsigned int, std::list<operation> > > _operations;
bool _shared;
bool _default;
};
#endif