refactor: remove redundant name fields from order service
This commit is contained in:
@@ -12,11 +12,8 @@ package pb;
|
||||
message Orders {
|
||||
int64 id = 1; //id
|
||||
int64 consumerId = 2; //consumerId
|
||||
string consumerName = 3; //consumerName
|
||||
int64 playerId = 4; //playerId
|
||||
string playerName = 5; //playerName
|
||||
optional int64 shopId = 6; //shopId
|
||||
optional string shopName = 7; //shopName
|
||||
string serviceSnapshot = 8; //serviceSnapshot
|
||||
string status = 9; //status
|
||||
string totalPrice = 10; //totalPrice
|
||||
@@ -35,11 +32,8 @@ message Orders {
|
||||
message AddOrdersReq {
|
||||
int64 id = 1; //id
|
||||
int64 consumerId = 2; //consumerId
|
||||
string consumerName = 3; //consumerName
|
||||
int64 playerId = 4; //playerId
|
||||
string playerName = 5; //playerName
|
||||
optional int64 shopId = 6; //shopId
|
||||
optional string shopName = 7; //shopName
|
||||
string serviceSnapshot = 8; //serviceSnapshot
|
||||
optional string status = 9; //status
|
||||
string totalPrice = 10; //totalPrice
|
||||
@@ -62,11 +56,8 @@ message AddOrdersResp {
|
||||
message UpdateOrdersReq {
|
||||
int64 id = 1; //id
|
||||
optional int64 consumerId = 2; //consumerId
|
||||
optional string consumerName = 3; //consumerName
|
||||
optional int64 playerId = 4; //playerId
|
||||
optional string playerName = 5; //playerName
|
||||
optional int64 shopId = 6; //shopId
|
||||
optional string shopName = 7; //shopName
|
||||
optional string serviceSnapshot = 8; //serviceSnapshot
|
||||
optional string status = 9; //status
|
||||
optional string totalPrice = 10; //totalPrice
|
||||
@@ -105,11 +96,8 @@ message SearchOrdersReq {
|
||||
int64 limit = 2; //limit
|
||||
optional int64 id = 3; //id
|
||||
optional int64 consumerId = 4; //consumerId
|
||||
optional string consumerName = 5; //consumerName
|
||||
optional int64 playerId = 6; //playerId
|
||||
optional string playerName = 7; //playerName
|
||||
optional int64 shopId = 8; //shopId
|
||||
optional string shopName = 9; //shopName
|
||||
optional string serviceSnapshot = 10; //serviceSnapshot
|
||||
optional string status = 11; //status
|
||||
optional string totalPrice = 12; //totalPrice
|
||||
|
||||
Reference in New Issue
Block a user