household_service.proto 1.2 KB

1234567891011121314151617181920212223242526
  1. syntax = "proto3";
  2. import "v1/household.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-applete-gateway/pb";
  7. // The system service definition.
  8. service Household {
  9. //
  10. rpc HouseholdApply(pb_v1.HouseholdApplyRequest) returns (pb_v1.HouseholdApplyReply){}
  11. rpc HouseholdApprove(pb_v1.HouseholdApproveRequest) returns (pb_v1.HouseholdApproveReply){}
  12. rpc HouseholdList(pb_v1.HouseholdListRequest) returns (pb_v1.HouseholdListReply){}
  13. // 通过审核的业主信息列表
  14. rpc HouseholdUserList(pb_v1.HouseholdUserListRequest) returns (pb_v1.HouseholdUserListReply){}
  15. // 房屋租赁
  16. rpc HouseRentApply(pb_v1.HouseRentApplyRequest) returns (pb_v1.HouseRentApplyReply){}
  17. rpc HouseRentApprove(pb_v1.HouseRentApproveRequest) returns (pb_v1.HouseRentApproveReply){}
  18. rpc HouseRentUpdate(pb_v1.HouseRentUpdateRequest) returns (pb_v1.HouseRentUpdateReply){}
  19. rpc HouseRentDown(pb_v1.HouseRentDownRequest) returns (pb_v1.HouseRentDownReply){}
  20. rpc HouseRentList(pb_v1.HouseRentListRequest) returns (pb_v1.HouseRentListReply){}
  21. }