change Booking in BookingSilvermobi in proto folder

This commit is contained in:
Maxime 2024-07-26 10:03:43 +02:00
parent ac8d9fe1fc
commit 1630105fb6
5 changed files with 7 additions and 7 deletions

View File

@ -20,12 +20,12 @@ storage:
services: services:
grpc: grpc:
ip: 10.73.187.58 #192.168.1.25 ip: localhost #192.168.1.25
enable: true enable: true
port: 8089 port: 8089
solidarity-api: solidarity-api:
enable: true enable: true
address: 10.73.187.58:9999 #192.168.1.25:9999 address: localhost:9999 #192.168.1.25:9999
routing: routing:
type: valhalla type: valhalla

View File

@ -68,7 +68,7 @@ message BookingRequest {
google.protobuf.Timestamp pickup_date = 7; google.protobuf.Timestamp pickup_date = 7;
} }
message Booking { message BookingSilvermobi {
string id = 1; string id = 1;
User driver = 2; User driver = 2;
User passenger = 3; User passenger = 3;
@ -80,7 +80,7 @@ message Booking {
optional int64 distance = 9; optional int64 distance = 9;
Price price = 10; Price price = 10;
optional Car car = 11; optional Car car = 11;
google.protobuf.Timestamp pickup_date = 12; google.protobuf.Timestamp pickup_date = 12;
} }