syntax = "proto3"; // package声明符,用来防止不同的消息类型有命名冲突 package pb_v1; // 用于生成指定语言go的包名称 option go_package = "property-device/pb/v1"; message GardenInfosRequest { repeated int64 ids = 1; } message GardenItem { // 物业公司id int64 cid = 1; // 省 string province = 2; string province_code = 3; // 市 string city = 4; string city_code = 5; // 区 string area = 6; string area_code = 7; // 街道 string street = 8; string street_code = 9; // 社区 string committee = 10; string committee_code = 11; // 小区名字 string garden_name = 12; // 小区地址 string garden_addr = 13; // 物业联系人 string property_person = 14; // 物业联系人手机号 string property_phone = 15; int64 id = 16; string garden_pic = 17; string garden_desc = 18; bool in_use = 19; // 经度 double lnt = 20; // 纬度 double lat = 21; repeated string appendix = 22; int32 status = 23; string feedback = 24; } message GardenInfosReply { repeated GardenItem list = 1; }