v2: user adress message
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
9a321f6613
commit
e0c66e2868
@ -122,6 +122,11 @@ message User {
|
||||
repeated int64 roles = 5;
|
||||
}
|
||||
|
||||
message UserAddress{
|
||||
string postal_code = 2;
|
||||
string user_address = 3;
|
||||
}
|
||||
|
||||
message Company {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
@ -157,8 +162,7 @@ message Identity {
|
||||
optional string employee_info = 23;
|
||||
string pub_key = 24;
|
||||
optional float balance = 25;
|
||||
optional string postal_code = 26;
|
||||
optional string user_address = 27;
|
||||
optional UserAddress user_address = 26;
|
||||
}
|
||||
|
||||
message IdentityBasic {
|
||||
@ -181,8 +185,7 @@ message UserUpdateIdentityReq {
|
||||
string national_id = 2;
|
||||
string birthdate = 3;
|
||||
string email = 4;
|
||||
optional string postal_code = 5;
|
||||
optional string user_address = 6;
|
||||
optional UserAddress user_address = 5;
|
||||
}
|
||||
|
||||
message UserUpdateBankInfoReq {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user