<commit_before>#ifndef PURCHASE_H
#define PURCHASE_H

#include <QObject>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QCalendarWidget>
using namespace std;
class Purchase
{

private:
    QString category;
    double amount;
    QString note;
    QDate date;
    QString people;
    QString paymethod;
    QString place;
    QString event;
    int id;
public:
        Purchase(long int id,QString categ,double amount,QString desc,QDate date,QString people,QString paym,QString place,QString event);
        Purchase();

        QString getCategory() { return category;}
        double getAmount() {return amount;}
        QString getNote() {return note;}
        QDate getDate() {return date;}
        QString getPeople() {return people;}
        QString getPaymethod() {return paymethod;}
        QString getPlace() {return place;}
        QString getEvent() {return event;}
        int getID() {return id;}
        void setID(int id) {this->id=id;}
        void setCategory(QString categ) {this->category=categ;}
        void setAmount(double amount) { this->amount=amount;}
        void setNote(QString note) {this->note=note;}
        void setDate(QDate date){this->date=date;}
        void setPeople(QString people) {this->people=people;}
        void setPaymethod(QString paymethod){this->paymethod=paymethod;}
        void setPlace(QString place){this->place=place;}
        void setEvent(QString event){this->event=event;}
};

#endif // PURCHASE_H<commit_msg>changed data type of id to long int.//was int<commit_after>#ifndef PURCHASE_H
#define PURCHASE_H

#include <QObject>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QCalendarWidget>
using namespace std;
class Purchase
{

private:
    QString category;
    double amount;
    QString note;
    QDate date;
    QString people;
    QString paymethod;
    QString place;
    QString event;
    long int id;
public:
        Purchase(long int id,QString categ,double amount,QString desc,QDate date,QString people,QString paym,QString place,QString event);
        Purchase();

        QString getCategory() { return category;}
        double getAmount() {return amount;}
        QString getNote() {return note;}
        QDate getDate() {return date;}
        QString getPeople() {return people;}
        QString getPaymethod() {return paymethod;}
        QString getPlace() {return place;}
        QString getEvent() {return event;}
        int getID() {return id;}
        void setID(int id) {this->id=id;}
        void setCategory(QString categ) {this->category=categ;}
        void setAmount(double amount) { this->amount=amount;}
        void setNote(QString note) {this->note=note;}
        void setDate(QDate date){this->date=date;}
        void setPeople(QString people) {this->people=people;}
        void setPaymethod(QString paymethod){this->paymethod=paymethod;}
        void setPlace(QString place){this->place=place;}
        void setEvent(QString event){this->event=event;}
};

#endif // PURCHASE_H
{'fraction_non_alphanumeric': 0.11148309340475393, 'fraction_numerical': 0.0, 'mean_word_length': 3.3876651982378854, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5948479', 'n_tokens_mistral': 861, 'n_tokens_neox': 880, 'n_words': 242}