garden_service.proto 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. syntax = "proto3";
  2. import "v1/garden.proto";
  3. import "v1/charge.proto";
  4. import "v1/park.proto";
  5. import "v1/repair.proto";
  6. import "v1/suggestion.proto";
  7. import "v1/announcement.proto";
  8. import "v1/household.proto";
  9. import "v1/house_rent.proto";
  10. import "v1/vehicle.proto";
  11. import "v1/event.proto";
  12. import "v1/vote.proto";
  13. import "v1/service_phone.proto";
  14. import "v1/neighbor.proto";
  15. // package声明符,用来防止不同的消息类型有命名冲突
  16. package pb.service;
  17. // 用于生成指定语言go的包名称
  18. option go_package = "property-system-gateway/pb";
  19. // The system service definition.
  20. service Garden {
  21. //
  22. rpc GardenHouseholdList(pb_v1.GardenHouseholdListRequest) returns (pb_v1.GardenHouseholdListReply){}
  23. rpc Statistic(pb_v1.StatisticRequest) returns (pb_v1.StatisticReply){}
  24. // 楼栋增删查改
  25. rpc BuildingAdd(pb_v1.BuildingAddRequest) returns (pb_v1.BuildingAddReply){}
  26. rpc BuildingUpdate(pb_v1.BuildingUpdateRequest) returns (pb_v1.BuildingUpdateReply){}
  27. rpc BuildingDel(pb_v1.BuildingDelRequest) returns (pb_v1.BuildingDelReply){}
  28. rpc BuildingList(pb_v1.BuildingListRequest) returns (pb_v1.BuildingListReply){}
  29. rpc BuildingAddManager(pb_v1.BuildingAddManagerRequest) returns (pb_v1.BuildingAddManagerReply){}
  30. rpc BuildingDelManager(pb_v1.BuildingDelManagerRequest) returns (pb_v1.BuildingDelManagerReply){}
  31. rpc BuildingManagerList(pb_v1.BuildingManagerListRequest) returns (pb_v1.BuildingManagerListReply){}
  32. // 单元增删查改
  33. rpc UnitAdd(pb_v1.UnitAddRequest) returns (pb_v1.UnitAddReply){}
  34. rpc UnitUpdate(pb_v1.UnitUpdateRequest) returns (pb_v1.UnitUpdateReply){}
  35. rpc UnitDel(pb_v1.UnitDelRequest) returns (pb_v1.UnitDelReply){}
  36. rpc UnitList(pb_v1.UnitListRequest) returns (pb_v1.UnitListReply){}
  37. // 房屋增删查改
  38. rpc HouseAdd(pb_v1.HouseAddRequest) returns (pb_v1.HouseAddReply){}
  39. rpc HouseUpdate(pb_v1.HouseUpdateRequest) returns (pb_v1.HouseUpdateReply){}
  40. rpc HouseDel(pb_v1.HouseDelRequest) returns (pb_v1.HouseDelReply){}
  41. rpc HouseList(pb_v1.HouseListRequest) returns (pb_v1.HouseListReply){}
  42. rpc HouseInfo(pb_v1.HouseInfoRequest) returns (pb_v1.HouseInfoReply){}
  43. rpc HouseChangeStatus(pb_v1.HouseChangeStatusRequest) returns (pb_v1.HouseChangeStatusReply){}
  44. // 业主信息列表
  45. rpc GardenHouseholdUserList(pb_v1.GardenHouseholdUserListRequest) returns (pb_v1.GardenHouseholdUserListReply){}
  46. // 批量添加房屋
  47. rpc BatchHouseAdd(pb_v1.BatchHouseAddRequest) returns (pb_v1.BatchHouseAddReply){}
  48. // 费用配置
  49. rpc ChargeConfAdd(pb_v1.ChargeConfAddRequest) returns (pb_v1.ChargeConfAddReply){}
  50. rpc ChargeConfUpdate(pb_v1.ChargeConfUpdateRequest) returns (pb_v1.ChargeConfUpdateReply){}
  51. rpc ChargeConfDel(pb_v1.ChargeConfDelRequest) returns (pb_v1.ChargeConfDelReply){}
  52. rpc ChargeConfList(pb_v1.ChargeConfListRequest) returns (pb_v1.ChargeConfListReply){}
  53. // 费用绑定对象
  54. rpc ChargeBind(pb_v1.ChargeBindRequest) returns (pb_v1.ChargeBindReply){}
  55. // 费用解绑对象
  56. rpc ChargeUnbind(pb_v1.ChargeUnbindRequest) returns (pb_v1.ChargeUnbindReply){}
  57. // 绑定了项目的房屋列表
  58. rpc ChargeHouseBindedList(pb_v1.ChargeHouseBindedListRequest) returns (pb_v1.ChargeHouseBindedListReply){}
  59. // 可以绑定某项目的房屋列表
  60. rpc ChargeHouseNotBindList(pb_v1.ChargeHouseNotBindListRequest) returns (pb_v1.ChargeHouseNotBindListReply){}
  61. // 绑定了某项目的车位列表
  62. rpc ChargeSpaceBindedList(pb_v1.ChargeSpaceBindedListRequest) returns (pb_v1.ChargeSpaceBindedListReply){}
  63. // 可以绑定某项目的车位列表
  64. rpc ChargeSpaceNotBindList(pb_v1.ChargeSpaceNotBindListRequest) returns (pb_v1.ChargeSpaceNotBindListReply){}
  65. // 绑定了某项目的车辆列表
  66. rpc ChargeVehicleBindedList(pb_v1.ChargeVehicleBindedListRequest) returns (pb_v1.ChargeVehicleBindedListReply){}
  67. // 可以绑定某项目的车辆列表
  68. rpc ChargeVehicleNotBindList(pb_v1.ChargeVehicleNotBindListRequest) returns (pb_v1.ChargeVehicleNotBindListReply){}
  69. // 房屋收费 房屋列表
  70. rpc ChargeHouseGroup(pb_v1.ChargeHouseGroupRequest) returns (pb_v1.ChargeHouseGroupReply){}
  71. // 车位收费 车位列表
  72. rpc ChargeSpaceGroup(pb_v1.ChargeSpaceGroupRequest) returns (pb_v1.ChargeSpaceGroupReply){}
  73. // 车辆收费 车辆列表
  74. rpc ChargeVehicleGroup(pb_v1.ChargeVehicleGroupRequest) returns (pb_v1.ChargeVehicleGroupReply){}
  75. // 手动生成账单 一次型费用和车辆收费不能手动生成
  76. rpc ChargeGenerateBill(pb_v1.ChargeGenerateBillRequest) returns (pb_v1.ChargeGenerateBillReply){}
  77. // 欠费线下缴费
  78. rpc ChargeBillPay(pb_v1.ChargeBillPayRequest) returns (pb_v1.ChargeBillPayReply){}
  79. // 欠费缴费欠费列表
  80. rpc ChargeUnpayList(pb_v1.ChargeUnpayListRequest) returns (pb_v1.ChargeUnpayListReply){}
  81. // 查看费用,费项列表
  82. rpc ChargeList(pb_v1.ChargeListRequest) returns (pb_v1.ChargeListReply){}
  83. // 对象的某费项下的待缴账单列表
  84. rpc ChargeBillList(pb_v1.ChargeBillListRequest) returns (pb_v1.ChargeBillListReply){}
  85. // 应收账单中的对象列表
  86. rpc ChargeBillObjList(pb_v1.ChargeBillObjListRequest) returns (pb_v1.ChargeBillObjListReply){}
  87. // 应收账单中某对象的账单明细
  88. rpc ChargeObjBillList(pb_v1.ChargeObjBillListRequest) returns (pb_v1.ChargeObjBillListReply){}
  89. // 变更时间
  90. rpc ChargeTimeSet(pb_v1.ChargeTimeSetRequest) returns (pb_v1.ChargeTimeSetReply){}
  91. // 小票和收据信息
  92. rpc ChargeOrderTicket(pb_v1.ChargeOrderTicketRequest) returns (pb_v1.ChargeOrderTicketReply){}
  93. // 预缴物业费或车位费前获取对应的金额信息
  94. rpc ChargePrePayInfo(pb_v1.ChargePrePayInfoRequest) returns (pb_v1.ChargePrePayInfoReply){}
  95. // 线下预缴物业费或车位费
  96. rpc ChargePrePay(pb_v1.ChargePrePayRequest) returns (pb_v1.ChargePrePayReply){}
  97. // 已交账单
  98. rpc ChargePayedBillList(pb_v1.ChargePayedBillListRequest) returns (pb_v1.ChargePayedBillListReply){}
  99. // 作废账单
  100. rpc ChargeDelBill(pb_v1.ChargeDelBillRequest) returns (pb_v1.ChargeDelBillReply){}
  101. // 恢复账单
  102. rpc ChargeRecoverBill(pb_v1.ChargeRecoverBillRequest) returns (pb_v1.ChargeRecoverBillReply){}
  103. // 作废账单列表
  104. rpc ChargeDelBillList(pb_v1.ChargeDelBillListRequest) returns (pb_v1.ChargeDelBillListReply){}
  105. // 缴费订单列表
  106. rpc ChargeOrderList(pb_v1.ChargeOrderListRequest) returns (pb_v1.ChargeOrderListReply){}
  107. // 缴费订单详情
  108. rpc ChargeOrderInfo(pb_v1.ChargeOrderInfoRequest) returns (pb_v1.ChargeOrderInfoReply){}
  109. // 确认订单已支付
  110. rpc ChargeOrderPay(pb_v1.ChargeOrderPayRequest) returns (pb_v1.ChargeOrderPayReply){}
  111. // 催缴设置
  112. rpc ChargeUrgeSet(pb_v1.ChargeUrgeSetRequest) returns (pb_v1.ChargeUrgeSetReply){}
  113. rpc ChargeUrgeInfo(pb_v1.ChargeUrgeInfoRequest) returns (pb_v1.ChargeUrgeInfoReply){}
  114. // 添加抄表记录
  115. rpc PowerRecordAdd(pb_v1.PowerRecordAddRequest) returns (pb_v1.PowerRecordAddReply){}
  116. // 批量添加
  117. rpc PowerRecordBatchAdd(pb_v1.PowerRecordBatchAddRequest) returns (pb_v1.PowerRecordBatchAddReply){}
  118. // 删除抄表记录
  119. rpc PowerRecordDel(pb_v1.PowerRecordDelRequest) returns (pb_v1.PowerRecordDelReply){}
  120. // 抄表记录列表
  121. rpc PowerRecordList(pb_v1.PowerRecordListRequest) returns (pb_v1.PowerRecordListReply){}
  122. // 物业费套餐
  123. rpc PropertyPackageAdd(pb_v1.PropertyPackageAddRequest) returns (pb_v1.PropertyPackageAddReply){}
  124. rpc PropertyPackageUpdate(pb_v1.PropertyPackageUpdateRequest) returns (pb_v1.PropertyPackageUpdateReply){}
  125. rpc PropertyPackageDel(pb_v1.PropertyPackageDelRequest) returns (pb_v1.PropertyPackageDelReply){}
  126. rpc PropertyPackageList(pb_v1.PropertyPackageListRequest) returns (pb_v1.PropertyPackageListReply){}
  127. // 车辆
  128. rpc VehicleAdd(pb_v1.VehicleAddRequest) returns (pb_v1.VehicleAddReply){}
  129. rpc VehicleUpdate(pb_v1.VehicleUpdateRequest) returns (pb_v1.VehicleUpdateReply){}
  130. rpc VehicleDel(pb_v1.VehicleDelRequest) returns (pb_v1.VehicleDelReply){}
  131. rpc VehicleList(pb_v1.VehicleListRequest) returns (pb_v1.VehicleListReply){}
  132. // 停车场
  133. rpc ParkList(pb_v1.ParkListRequest) returns (pb_v1.ParkListReply){}
  134. rpc ParkAdd(pb_v1.ParkAddRequest) returns (pb_v1.ParkAddReply){}
  135. rpc ParkUpdate(pb_v1.ParkUpdateRequest) returns (pb_v1.ParkUpdateReply){}
  136. rpc ParkDel(pb_v1.ParkDelRequest) returns (pb_v1.ParkDelReply){}
  137. // 车位
  138. rpc ParkSpaceList(pb_v1.ParkSpaceListRequest) returns (pb_v1.ParkSpaceListReply){}
  139. rpc ParkSpaceAdd(pb_v1.ParkSpaceAddRequest) returns (pb_v1.ParkSpaceAddReply){}
  140. rpc ParkSpaceUpdate(pb_v1.ParkSpaceUpdateRequest) returns (pb_v1.ParkSpaceUpdateReply){}
  141. rpc ParkSpaceDel(pb_v1.ParkSpaceDelRequest) returns (pb_v1.ParkSpaceDelReply){}
  142. // 报事报修
  143. rpc RepairClassList(pb_v1.RepairClassListRequest) returns (pb_v1.RepairClassListReply){}
  144. rpc RepairClassAdd(pb_v1.RepairClassAddRequest) returns (pb_v1.RepairClassAddReply){}
  145. rpc RepairClassUpdate(pb_v1.RepairClassUpdateRequest) returns (pb_v1.RepairClassUpdateReply){}
  146. rpc RepairClassDel(pb_v1.RepairClassDelRequest) returns (pb_v1.RepairClassDelReply){}
  147. rpc RepairOrderList(pb_v1.RepairOrderListRequest) returns (pb_v1.RepairOrderListReply){}
  148. rpc RepairOrderAdd(pb_v1.RepairOrderAddRequest) returns (pb_v1.RepairOrderAddReply){}
  149. rpc RepairOrderUpdate(pb_v1.RepairOrderUpdateRequest) returns (pb_v1.RepairOrderUpdateReply){}
  150. rpc RepairOrderDel(pb_v1.RepairOrderDelRequest) returns (pb_v1.RepairOrderDelReply){}
  151. // 派单
  152. rpc RepairOrderSend(pb_v1.RepairOrderSendRequest) returns (pb_v1.RepairOrderSendReply){}
  153. // 结单
  154. rpc RepairOrderFinish(pb_v1.RepairOrderFinishRequest) returns (pb_v1.RepairOrderFinishReply){}
  155. // 退单
  156. rpc RepairOrderBack(pb_v1.RepairOrderBackRequest) returns (pb_v1.RepairOrderBackReply){}
  157. // 详情
  158. rpc RepairOrderInfo(pb_v1.RepairOrderInfoRequest) returns (pb_v1.RepairOrderInfoReply){}
  159. // 回访
  160. rpc RepairOrderReturnVisit(pb_v1.RepairOrderReturnVisitRequest) returns (pb_v1.RepairOrderReturnVisitReply){}
  161. // 投诉与建议 派单
  162. rpc SuggestionOrderSend(pb_v1.SuggestionOrderSendRequest) returns (pb_v1.SuggestionOrderSendReply){}
  163. // 结单
  164. rpc SuggestionOrderFinish(pb_v1.SuggestionOrderFinishRequest) returns (pb_v1.SuggestionOrderFinishReply){}
  165. // 退单
  166. rpc SuggestionOrderBack(pb_v1.SuggestionOrderBackRequest) returns (pb_v1.SuggestionOrderBackReply){}
  167. // 详情
  168. rpc SuggestionOrderInfo(pb_v1.SuggestionOrderInfoRequest) returns (pb_v1.SuggestionOrderInfoReply){}
  169. // 回访
  170. rpc SuggestionOrderReturnVisit(pb_v1.SuggestionOrderReturnVisitRequest) returns (pb_v1.SuggestionOrderReturnVisitReply){}
  171. rpc SuggestionOrderList(pb_v1.SuggestionOrderListRequest) returns (pb_v1.SuggestionOrderListReply){}
  172. rpc SuggestionOrderAdd(pb_v1.SuggestionOrderAddRequest) returns (pb_v1.SuggestionOrderAddReply){}
  173. rpc SuggestionOrderUpdate(pb_v1.SuggestionOrderUpdateRequest) returns (pb_v1.SuggestionOrderUpdateReply){}
  174. rpc SuggestionOrderDel(pb_v1.SuggestionOrderDelRequest) returns (pb_v1.SuggestionOrderDelReply){}
  175. // 公告
  176. rpc AnnouncementList(pb_v1.AnnouncementListRequest) returns (pb_v1.AnnouncementListReply){}
  177. rpc AnnouncementAdd(pb_v1.AnnouncementAddRequest) returns (pb_v1.AnnouncementAddReply){}
  178. rpc AnnouncementUpdate(pb_v1.AnnouncementUpdateRequest) returns (pb_v1.AnnouncementUpdateReply){}
  179. rpc AnnouncementDel(pb_v1.AnnouncementDelRequest) returns (pb_v1.AnnouncementDelReply){}
  180. rpc GardenHouseRentList(pb_v1.GardenHouseRentListRequest) returns (pb_v1.GardenHouseRentListReply){}
  181. // 租房经纪人
  182. rpc HouseRentAddManager(pb_v1.HouseRentAddManagerRequest) returns (pb_v1.HouseRentAddManagerReply){}
  183. rpc HouseRentDelManager(pb_v1.HouseRentDelManagerRequest) returns (pb_v1.HouseRentDelManagerReply){}
  184. rpc HouseRentManagerList(pb_v1.HouseRentManagerListRequest) returns (pb_v1.HouseRentManagerListReply){}
  185. // 系统消息
  186. rpc SystemMsgList(pb_v1.SystemMsgListRequest)returns (pb_v1.SystemMsgListReply){}
  187. rpc SystemMsgReaded(pb_v1.SystemMsgReadedRequest)returns (pb_v1.SystemMsgReadedReply){}
  188. // 社区活动
  189. rpc EventAdd(pb_v1.EventAddRequest)returns (pb_v1.EventAddReply){}
  190. rpc EventUpdate(pb_v1.EventUpdateRequest)returns (pb_v1.EventUpdateReply){}
  191. rpc EventDel(pb_v1.EventDelRequest)returns (pb_v1.EventDelReply){}
  192. rpc EventList(pb_v1.EventListRequest)returns (pb_v1.EventListReply){}
  193. // 社区活动报名
  194. rpc EventSignAdd(pb_v1.EventSignAddRequest)returns (pb_v1.EventSignAddReply){}
  195. // 社区活动删除报名
  196. rpc EventSignDel(pb_v1.EventSignDelRequest)returns (pb_v1.EventSignDelReply){}
  197. // 社区活动报名列表
  198. rpc EventSignList(pb_v1.EventSignListRequest)returns (pb_v1.EventSignListReply){}
  199. // 服务电话分类
  200. rpc ServicePhoneClassList(pb_v1.ServicePhoneClassListRequest) returns (pb_v1.ServicePhoneClassListReply){}
  201. rpc ServicePhoneClassAdd(pb_v1.ServicePhoneClassAddRequest) returns (pb_v1.ServicePhoneClassAddReply){}
  202. rpc ServicePhoneClassUpdate(pb_v1.ServicePhoneClassUpdateRequest) returns (pb_v1.ServicePhoneClassUpdateReply){}
  203. rpc ServicePhoneClassDel(pb_v1.ServicePhoneClassDelRequest) returns (pb_v1.ServicePhoneClassDelReply){}
  204. // 服务电话
  205. rpc ServicePhoneList(pb_v1.ServicePhoneListRequest) returns (pb_v1.ServicePhoneListReply){}
  206. rpc ServicePhoneAdd(pb_v1.ServicePhoneAddRequest) returns (pb_v1.ServicePhoneAddReply){}
  207. rpc ServicePhoneUpdate(pb_v1.ServicePhoneUpdateRequest) returns (pb_v1.ServicePhoneUpdateReply){}
  208. rpc ServicePhoneDel(pb_v1.ServicePhoneDelRequest) returns (pb_v1.ServicePhoneDelReply){}
  209. // 一键催缴
  210. rpc ChargeUrge(pb_v1.ChargeUrgeRequest) returns (pb_v1.ChargeUrgeReply){}
  211. // 投票
  212. rpc VoteList(pb_v1.VoteListRequest) returns (pb_v1.VoteListReply){}
  213. rpc VoteAdd(pb_v1.VoteAddRequest) returns (pb_v1.VoteAddReply){}
  214. rpc VoteUpdate(pb_v1.VoteUpdateRequest) returns (pb_v1.VoteUpdateReply){}
  215. rpc VoteDel(pb_v1.VoteDelRequest) returns (pb_v1.VoteDelReply){}
  216. // 投票回答
  217. rpc VoteAddAnswer(pb_v1.VoteAddAnswerRequest) returns (pb_v1.VoteAddAnswerReply){}
  218. // 投票结果列表
  219. rpc VoteResultList(pb_v1.VoteResultListRequest) returns (pb_v1.VoteResultListReply){}
  220. // 投票结果统计
  221. rpc VoteResultStatistic(pb_v1.VoteResultStatisticRequest) returns (pb_v1.VoteResultStatisticReply){}
  222. // 社区邻里
  223. rpc NeighborClassAdd(pb_v1.NeighborClassAddRequest) returns (pb_v1.NeighborClassAddReply){}
  224. rpc NeighborClassDel(pb_v1.NeighborClassDelRequest) returns (pb_v1.NeighborClassDelReply){}
  225. rpc NeighborClassUpdate(pb_v1.NeighborClassUpdateRequest) returns (pb_v1.NeighborClassUpdateReply){}
  226. rpc NeighborClassList(pb_v1.NeighborClassListRequest) returns (pb_v1.NeighborClassListReply){}
  227. rpc NeighborArticleAdd(pb_v1.NeighborArticleAddRequest) returns (pb_v1.NeighborArticleAddReply){}
  228. rpc NeighborArticleDel(pb_v1.NeighborArticleDelRequest) returns (pb_v1.NeighborArticleDelReply){}
  229. rpc NeighborArticleUpdate(pb_v1.NeighborArticleUpdateRequest) returns (pb_v1.NeighborArticleUpdateReply){}
  230. rpc NeighborArticleList(pb_v1.NeighborArticleListRequest) returns (pb_v1.NeighborArticleListReply){}
  231. rpc NeighborCommentAdd(pb_v1.NeighborCommentAddRequest) returns (pb_v1.NeighborCommentAddReply){}
  232. rpc NeighborCommentDel(pb_v1.NeighborCommentDelRequest) returns (pb_v1.NeighborCommentDelReply){}
  233. rpc NeighborCommentUpdate(pb_v1.NeighborCommentUpdateRequest) returns (pb_v1.NeighborCommentUpdateReply){}
  234. rpc NeighborCommentList(pb_v1.NeighborCommentListRequest) returns (pb_v1.NeighborCommentListReply){}
  235. rpc NeighborLike(pb_v1.NeighborLikeRequest) returns (pb_v1.NeighborLikeReply){}
  236. }