carpool-incentives/grpc/proto/incentives.proto

19 lines
375 B
Protocol Buffer
Raw Normal View History

2023-03-12 23:23:59 +00:00
syntax = "proto3";
option go_package = "git.coopgo.io/coopgo-platform/carpool-incentives/grpc/proto";
import "google/protobuf/struct.proto";
message Incentive{
string id = 1;
string name = 2;
}
message IncentiveSubscription {
string id = 10;
string userid = 11;
string incentiveid = 12;
google.protobuf.Struct data = 13;
bool declined = 14;
}