garden_service.proto 681 B

1234567891011121314151617
  1. syntax = "proto3";
  2. import "v1/garden.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-system/pb";
  7. // The system service definition.
  8. service Garden {
  9. rpc GardenInitDb(pb_v1.GardenInitDbRequest) returns (pb_v1.GardenInitDbReply){}
  10. // 小区是否有房屋入驻
  11. rpc GardenHouseIsIn(pb_v1.GardenHouseIsInRequest) returns (pb_v1.GardenHouseIsInReply){}
  12. // 因房屋,小区或单元信息变更需更新租房信息
  13. rpc GardenHouseRentChangeField(pb_v1.GardenHouseRentChangeFieldRequest) returns (pb_v1.GardenHouseRentChangeFieldReply){}
  14. }