garden_service.proto 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. syntax = "proto3";
  2. import "v1/garden.proto";
  3. import "v1/repair.proto";
  4. import "v1/suggestion.proto";
  5. import "v1/charge.proto";
  6. import "v1/vehicle.proto";
  7. import "v1/park.proto";
  8. import "v1/announcement.proto";
  9. import "v1/event.proto";
  10. import "v1/house_rent.proto";
  11. import "v1/service_phone.proto";
  12. import "v1/vote.proto";
  13. import "v1/neighbor.proto";
  14. // package声明符,用来防止不同的消息类型有命名冲突
  15. package pb.service;
  16. // 用于生成指定语言go的包名称
  17. option go_package = "property-household-gateway/pb";
  18. // The system service definition.
  19. service Garden {
  20. // 公告
  21. rpc AnnouncementList(pb_v1.AnnouncementListRequest) returns (pb_v1.AnnouncementListReply){}
  22. rpc AnnouncementReadAdd(pb_v1.AnnouncementReadAddRequest) returns (pb_v1.AnnouncementReadAddReply){}
  23. rpc BuildingManagerList(pb_v1.BuildingManagerListRequest) returns (pb_v1.BuildingManagerListReply){}
  24. rpc BuildingList(pb_v1.BuildingListRequest) returns (pb_v1.BuildingListReply){}
  25. rpc UnitList(pb_v1.UnitListRequest) returns (pb_v1.UnitListReply){}
  26. rpc HouseList(pb_v1.HouseListRequest) returns (pb_v1.HouseListReply){}
  27. rpc HouseRentManagerList(pb_v1.HouseRentManagerListRequest) returns (pb_v1.HouseRentManagerListReply){}
  28. rpc GardenHouseRentInfo(pb_v1.GardenHouseRentInfoRequest) returns (pb_v1.GardenHouseRentInfoReply){}
  29. // 报事报修
  30. rpc RepairClassList(pb_v1.RepairClassListRequest) returns (pb_v1.RepairClassListReply){}
  31. rpc RepairOrderList(pb_v1.RepairOrderListRequest) returns (pb_v1.RepairOrderListReply){}
  32. rpc RepairOrderAdd(pb_v1.RepairOrderAddRequest) returns (pb_v1.RepairOrderAddReply){}
  33. rpc RepairOrderUpdate(pb_v1.RepairOrderUpdateRequest) returns (pb_v1.RepairOrderUpdateReply){}
  34. rpc RepairOrderDel(pb_v1.RepairOrderDelRequest) returns (pb_v1.RepairOrderDelReply){}
  35. // 详情
  36. rpc RepairOrderInfo(pb_v1.RepairOrderInfoRequest) returns (pb_v1.RepairOrderInfoReply){}
  37. // 回访
  38. rpc RepairOrderReturnVisit(pb_v1.RepairOrderReturnVisitRequest) returns (pb_v1.RepairOrderReturnVisitReply){}
  39. // 详情
  40. rpc SuggestionOrderInfo(pb_v1.SuggestionOrderInfoRequest) returns (pb_v1.SuggestionOrderInfoReply){}
  41. // 回访
  42. rpc SuggestionOrderReturnVisit(pb_v1.SuggestionOrderReturnVisitRequest) returns (pb_v1.SuggestionOrderReturnVisitReply){}
  43. // 投诉建议
  44. rpc SuggestionOrderList(pb_v1.SuggestionOrderListRequest) returns (pb_v1.SuggestionOrderListReply){}
  45. rpc SuggestionOrderAdd(pb_v1.SuggestionOrderAddRequest) returns (pb_v1.SuggestionOrderAddReply){}
  46. rpc SuggestionOrderUpdate(pb_v1.SuggestionOrderUpdateRequest) returns (pb_v1.SuggestionOrderUpdateReply){}
  47. rpc SuggestionOrderDel(pb_v1.SuggestionOrderDelRequest) returns (pb_v1.SuggestionOrderDelReply){}
  48. // 欠费缴费欠费列表
  49. rpc ChargeUnpayList(pb_v1.ChargeUnpayListRequest) returns (pb_v1.ChargeUnpayListReply){}
  50. // 查看费用,费项列表
  51. rpc ChargeList(pb_v1.ChargeListRequest) returns (pb_v1.ChargeListReply){}
  52. // 对象的某费项下的待缴账单列表
  53. rpc ChargeBillList(pb_v1.ChargeBillListRequest) returns (pb_v1.ChargeBillListReply){}
  54. // 预缴物业费或车位费前获取对应的金额信息
  55. rpc ChargePrePayInfo(pb_v1.ChargePrePayInfoRequest) returns (pb_v1.ChargePrePayInfoReply){}
  56. // 缴费订单列表
  57. rpc ChargeOrderList(pb_v1.ChargeOrderListRequest) returns (pb_v1.ChargeOrderListReply){}
  58. // 缴费订单详情
  59. rpc ChargeOrderInfo(pb_v1.ChargeOrderInfoRequest) returns (pb_v1.ChargeOrderInfoReply){}
  60. // 取消订单 线上交费没有支付的情况
  61. rpc ChargeOrderCancel(pb_v1.ChargeOrderCancelRequest) returns (pb_v1.ChargeOrderCancelReply){}
  62. // 线上预缴
  63. rpc ChargePrePayByHousehold(pb_v1.ChargePrePayByHouseholdRequest) returns (pb_v1.ChargePrePayByHouseholdReply){}
  64. // 小程序预存物业费,车位费或车辆费用前获取月数和赠送信息
  65. rpc ChargeMonthInfo(pb_v1.ChargeMonthInfoRequest) returns (pb_v1.ChargeMonthInfoReply){}
  66. // 欠费线上缴费
  67. rpc ChargeBillPayByHousehold(pb_v1.ChargeBillPayByHouseholdRequest) returns (pb_v1.ChargeBillPayByHouseholdReply){}
  68. // 已交账单
  69. rpc ChargePayedBillList(pb_v1.ChargePayedBillListRequest) returns (pb_v1.ChargePayedBillListReply){}
  70. // 停车场
  71. rpc ParkList(pb_v1.ParkListRequest) returns (pb_v1.ParkListReply){}
  72. // 车位
  73. rpc ParkSpaceList(pb_v1.ParkSpaceListRequest) returns (pb_v1.ParkSpaceListReply){}
  74. // 车辆
  75. rpc VehicleList(pb_v1.VehicleListRequest) returns (pb_v1.VehicleListReply){}
  76. // 社区活动
  77. rpc EventList(pb_v1.EventListRequest)returns (pb_v1.EventListReply){}
  78. // 社区活动报名
  79. rpc EventSignAdd(pb_v1.EventSignAddRequest)returns (pb_v1.EventSignAddReply){}
  80. // 服务电话分类
  81. rpc ServicePhoneClassList(pb_v1.ServicePhoneClassListRequest) returns (pb_v1.ServicePhoneClassListReply){}
  82. // 服务电话
  83. rpc ServicePhoneList(pb_v1.ServicePhoneListRequest) returns (pb_v1.ServicePhoneListReply){}
  84. // 投票列表,业主小程序专用
  85. rpc VoteListForHousehold(pb_v1.VoteListForHouseholdRequest) returns (pb_v1.VoteListForHouseholdReply){}
  86. // 投票回答
  87. rpc VoteAddAnswer(pb_v1.VoteAddAnswerRequest) returns (pb_v1.VoteAddAnswerReply){}
  88. // 投票结果统计
  89. rpc VoteResultStatistic(pb_v1.VoteResultStatisticRequest) returns (pb_v1.VoteResultStatisticReply){}
  90. // 社区邻里
  91. rpc NeighborClassList(pb_v1.NeighborClassListRequest) returns (pb_v1.NeighborClassListReply){}
  92. rpc NeighborArticleAdd(pb_v1.NeighborArticleAddRequest) returns (pb_v1.NeighborArticleAddReply){}
  93. rpc NeighborArticleDel(pb_v1.NeighborArticleDelRequest) returns (pb_v1.NeighborArticleDelReply){}
  94. rpc NeighborArticleUpdate(pb_v1.NeighborArticleUpdateRequest) returns (pb_v1.NeighborArticleUpdateReply){}
  95. rpc NeighborArticleList(pb_v1.NeighborArticleListRequest) returns (pb_v1.NeighborArticleListReply){}
  96. rpc NeighborCommentAdd(pb_v1.NeighborCommentAddRequest) returns (pb_v1.NeighborCommentAddReply){}
  97. rpc NeighborCommentDel(pb_v1.NeighborCommentDelRequest) returns (pb_v1.NeighborCommentDelReply){}
  98. rpc NeighborCommentUpdate(pb_v1.NeighborCommentUpdateRequest) returns (pb_v1.NeighborCommentUpdateReply){}
  99. rpc NeighborCommentList(pb_v1.NeighborCommentListRequest) returns (pb_v1.NeighborCommentListReply){}
  100. rpc NeighborLike(pb_v1.NeighborLikeRequest) returns (pb_v1.NeighborLikeReply){}
  101. // 住户的单元id列表
  102. rpc GardenHouseholdUnitIds(pb_v1.GardenHouseholdUnitIdsRequest) returns (pb_v1.GardenHouseholdUnitIdsReply){}
  103. // 住户退出房屋
  104. rpc GardenHouseholdDelHouse(pb_v1.GardenHouseholdDelHouseRequest) returns (pb_v1.GardenHouseholdDelHouseReply){}
  105. }