#ifndef CPERMISSIONINFOH
#define CPERMISSIONINFOH
#include <string>
#include "export_ctrls_common.h"
enum NoPermissionBehaviour {
    kReadOnly = 1,
    kDisable = 0b10,
    kHide = 0b100,
};

class CTRLS_COMMON_EXPORT PermissionInfo {
public:
    PermissionInfo(std::string permissioName, NoPermissionBehaviour behaviour);
    //PermissionInfo(const PermissionInfo& ) = default;
    std::string sPermissionName;
    NoPermissionBehaviour eDisplayBehaviour = kReadOnly;
    int iPermissionId;

    bool operator==(const PermissionInfo& val) const;
    bool operator!=(const PermissionInfo& val) const;
    bool operator<(const PermissionInfo& val) const;

};
#endif
