household.proto 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package pb_v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "property-garden/pb/v1";
  6. // 删除未审核的申请(小区被删,房屋被删,或房屋号信息被改)
  7. message HouseholdDelApplyRequest {
  8. int64 id = 1;
  9. int64 house_id = 2;
  10. int64 garden_id = 3;
  11. int64 building_id = 4;
  12. int64 unit_id = 5;
  13. }
  14. message HouseholdDelApplyReply {
  15. }
  16. message HouseholdGardenNameChangeRequest {
  17. int64 garden_id = 1;
  18. string garden_name = 2;
  19. }
  20. message HouseholdGardenNameChangeReply {
  21. }
  22. message HouseholdRefuseRequest {
  23. int64 house_id = 1;
  24. int64 garden_id = 2;
  25. int64 unit_id = 3;
  26. int64 building_id = 4;
  27. string feedback = 5;
  28. }
  29. message HouseholdRefuseReply {
  30. }
  31. message HouseRentChangeFieldRequest {
  32. int64 garden_id = 1;
  33. int64 house_id = 2;
  34. int64 unit_id = 3;
  35. int64 room_count = 4;
  36. int64 hall_count = 5;
  37. bool has_lift = 6;
  38. double house_area = 7;
  39. int64 layer = 8;
  40. string garden_name = 9;
  41. double lnt = 10;
  42. double lat = 11;
  43. }
  44. message HouseRentChangeFieldReply {
  45. }
  46. message HouseholdWaitCountRequest {
  47. int64 garden_id = 1;
  48. int64 building_id = 2;
  49. int64 unit_id = 3;
  50. int64 house_id = 4;
  51. }
  52. message HouseholdWaitCountReply {
  53. int64 count = 1;
  54. }
  55. message HouseholdDelHouseRequest {
  56. int64 house_id = 1;
  57. int64 household_uid = 2;
  58. int64 garden_id = 3;
  59. repeated int64 rent_ids = 4;
  60. }
  61. message HouseholdDelHouseReply {
  62. }