garden.proto 755 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package pb_v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "property-system/pb/v1";
  6. message GardenInitDbRequest {
  7. int64 garden_id = 1;
  8. }
  9. message GardenInitDbReply{
  10. }
  11. message GardenHouseIsInRequest {
  12. int64 garden_id = 1;
  13. }
  14. message GardenHouseIsInReply {
  15. bool in = 1;
  16. }
  17. message GardenHouseRentChangeFieldRequest {
  18. int64 garden_id = 1;
  19. int64 house_id = 2;
  20. int64 unit_id = 3;
  21. int64 room_count = 4;
  22. int64 hall_count = 5;
  23. bool has_lift = 6;
  24. double house_area = 7;
  25. int64 layer = 8;
  26. string garden_name = 9;
  27. double lnt = 10;
  28. double lat = 11;
  29. }
  30. message GardenHouseRentChangeFieldReply {
  31. }