household_service.proto 859 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. import "v1/household.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-garden/pb";
  7. // The system service definition.
  8. service Household {
  9. // 因房屋更新,需拒绝申请
  10. rpc HouseholdRefuse(pb_v1.HouseholdRefuseRequest) returns (pb_v1.HouseholdRefuseReply){}
  11. // 因房屋,小区或单元信息变更需更新租房信息
  12. rpc HouseRentChangeField(pb_v1.HouseRentChangeFieldRequest) returns (pb_v1.HouseRentChangeFieldReply){}
  13. // 获取待审核的住户数量
  14. rpc HouseholdWaitCount(pb_v1.HouseholdWaitCountRequest) returns (pb_v1.HouseholdWaitCountReply){}
  15. // 住户退出房屋
  16. rpc HouseholdDelHouse(pb_v1.HouseholdDelHouseRequest) returns (pb_v1.HouseholdDelHouseReply){}
  17. }