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