structs.proto 537 B

123456789101112131415161718192021
  1. syntax="proto3";
  2. package protos;
  3. message Int32Scope {
  4. int32 min = 1;
  5. int32 max = 2;
  6. }
  7. // 矿池
  8. message Mine {
  9. int64 id = 1;
  10. string name = 2; // 名称
  11. string coin = 3; // 币
  12. string city = 4;
  13. string location = 5; // 详细位置
  14. string desc = 8; // 简介
  15. string holder = 9; // 所有人
  16. float longitude = 10; // 经纬度
  17. float latitude = 11;
  18. uint64 gameId = 12;
  19. }