garden_service.proto 1015 B

12345678910111213141516171819202122
  1. syntax = "proto3";
  2. import "v1/garden.proto";
  3. import "v1/household.proto";
  4. // package声明符,用来防止不同的消息类型有命名冲突
  5. package pb.service;
  6. // 用于生成指定语言go的包名称
  7. option go_package = "property-household/pb";
  8. // The system service definition.
  9. service Garden {
  10. rpc HouseInfo(pb_v1.HouseInfoRequest) returns (pb_v1.HouseInfoReply){}
  11. rpc HouseholdSync(pb_v1.HouseholdSyncRequest) returns (pb_v1.HouseholdSyncReply){}
  12. rpc HouseholdChange(pb_v1.HouseholdChangeRequest) returns (pb_v1.HouseholdChangeReply){}
  13. // 同步租房信息
  14. rpc GardenHouseRentSync(pb_v1.GardenHouseRentSyncRequest) returns (pb_v1.GardenHouseRentSyncReply){}
  15. rpc GardenHouseRentList(pb_v1.GardenHouseRentListRequest) returns (pb_v1.GardenHouseRentListReply){}
  16. rpc RepairStatisticSet(pb_v1.RepairStatisticSetRequest) returns (pb_v1.RepairStatisticSetReply){}
  17. // 添加物业系统消息
  18. rpc SystemMsgAdd(pb_v1.SystemMsgAddRequest)returns (pb_v1.SystemMsgAddReply){}
  19. }