Auto Formatter + Company & EmployeeID
This commit is contained in:
parent
595d8cf239
commit
0e93462481
@ -2,8 +2,8 @@ syntax = "proto3";
|
||||
|
||||
package authorization;
|
||||
|
||||
import "base_message.proto";
|
||||
import "authorization_message.proto";
|
||||
import "base_message.proto";
|
||||
|
||||
service AuthorizationService {
|
||||
rpc InternalAuthorizationDeleteCache(base.Empty) returns (base.StatusRes);
|
||||
|
||||
@ -93,6 +93,12 @@ message User {
|
||||
repeated int64 roles = 5;
|
||||
}
|
||||
|
||||
message Company {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
string location = 3;
|
||||
}
|
||||
|
||||
message Identity {
|
||||
string national_id = 1;
|
||||
string national_serial_id = 2;
|
||||
@ -114,7 +120,8 @@ message Identity {
|
||||
string updated_at = 18;
|
||||
string created_at = 19;
|
||||
string email = 20;
|
||||
|
||||
Company company = 21;
|
||||
optional string employee_info = 22;
|
||||
}
|
||||
|
||||
message IdentityBasic {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user