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