#include "folder.h"

Folder::Folder(int id, int accountId, const QString& name, const QString& parentFolderId,
               bool isInbox, bool isSent, bool isDrafts, bool isTrash,
               int unreadCount, const QDateTime& lastSynced)
    : m_id(id)
    , m_accountId(accountId)
    , m_name(name)
    , m_parentFolderId(parentFolderId)
    , m_isInbox(isInbox)
    , m_isSent(isSent)
    , m_isDrafts(isDrafts)
    , m_isTrash(isTrash)
    , m_unreadCount(unreadCount)
    , m_lastSynced(lastSynced)
{
}