garden_service.proto 16 KB

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