17 lines
271 B
Protocol Buffer
17 lines
271 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package bet.beteran.rbac;
|
||
|
|
||
|
import "models/rbac/resource.proto";
|
||
|
|
||
|
message Role {
|
||
|
string id = 1;
|
||
|
Role parent = 2;
|
||
|
string name = 3;
|
||
|
string key = 4;
|
||
|
string description = 5;
|
||
|
bool can_use = 6;
|
||
|
uint64 created_at = 7;
|
||
|
uint64 updated_at = 8;
|
||
|
}
|