beteran-protobuf/proto/models/rbac/role.proto

17 lines
271 B
Protocol Buffer
Raw Normal View History

2022-08-08 01:46:20 +00:00
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;
}