Auto Formatter + Company & EmployeeID

This commit is contained in:
nfel 2024-07-13 21:18:51 +03:30
parent 595d8cf239
commit 0e93462481
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F
2 changed files with 44 additions and 37 deletions

View File

@ -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);

View File

@ -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 {