19 lines
375 B
Protocol Buffer
19 lines
375 B
Protocol Buffer
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;
|
|
}
|