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