#ifndef ROOMPRESETMODEL_H
#define ROOMPRESETMODEL_H

#include "model/navigationdata.h"

class RoomPresetModel : public QObject {
    Q_OBJECT

    QML_READONLY_VAR_PROPERTY(QString, roomId)
    QML_READONLY_VAR_PROPERTY(QString, roomName)

    QML_READONLY_VAR_PROPERTY(QVariantList, presets) // [{"areaCode": string, "doorExitLocations": DoorExitLocationModel, "contentLocations": ContentLocationModel}]
    QML_READONLY_VAR_PROPERTY(int, current)

public:
    RoomPresetModel(QObject* parent = nullptr);
    void loadFromData(const NavigationData& data);
};

#endif // ROOMPRESETMODEL_H
