#ifndef TABLEITEM_H
#define TABLEITEM_H

#include <QList>
#include <QVariant>

//! [0]
class ComicItem : public QObject
{
    Q_OBJECT
public:
    ComicItem(const QList<QVariant> &data);
    ~ComicItem() override;
    int columnCount() const;
    QList<QVariant> getData() const;
    void setData(const QList<QVariant> &data);
    QVariant data(int column) const;
    void setData(int column, const QVariant &value);
    int row() const;
    // unsigned long long int id; //TODO sustituir por una clase adecuada
    // Comic comic;
private:
    QList<QVariant> itemData;
};
//! [0]

#endif
