mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
25 lines
369 B
C++
25 lines
369 B
C++
#ifndef RBAC_PERMISSION_H
|
|
#define RBAC_PERMISSION_H
|
|
|
|
#include "core/resource.h"
|
|
|
|
#include <string>
|
|
|
|
class RBACPermission : public Resource {
|
|
RCPP_OBJECT(RBACPermission, Resource);
|
|
|
|
public:
|
|
int id;
|
|
int rank_id;
|
|
int permission_id;
|
|
std::string name;
|
|
std::string url;
|
|
bool revoke;
|
|
int sort_order;
|
|
int permissions;
|
|
|
|
RBACPermission();
|
|
~RBACPermission();
|
|
};
|
|
|
|
#endif |