dynamic.proto 481 B

12345678910111213141516171819
  1. syntax = "proto3";
  2. package model;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option (gogoproto.goproto_enum_prefix_all) = false;
  5. option (gogoproto.goproto_getters_all) = false;
  6. option (gogoproto.unmarshaler_all) = true;
  7. option (gogoproto.marshaler_all) = true;
  8. option (gogoproto.sizer_all) = true;
  9. message Aids {
  10. repeated int64 IDs = 1 [(gogoproto.jsontag) = "id"];
  11. }
  12. message Region {
  13. map<int32,Aids> aids = 1;
  14. }
  15. message Tag {
  16. map<string,Aids> aids = 1;
  17. }