#pragma once

#include <saas/rtyserver/components/l2/l2_builder.h>

#include "config.h"

namespace NRTYServer {
    class TPropBuilder: public TL2ComponentBuilder {
    public:
        TPropBuilder(const TString& componentName, const TString& entityName, IIndexComponentManager* manager, IL2ComponentCore::TPtr core);

    private:
        bool DoWriteMeta(NRTYServer::TIndexMetadata& metadata) const override;

        const TPropConfig* Config;
    };
}
