syntax = "proto3"; // package声明符,用来防止不同的消息类型有命名冲突 package pb_v1; // 用于生成指定语言go的包名称 option go_package = "property-household-gateway/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; // 1塔楼 2 板楼 3 塔板结合 4 其他 int32 building_type = 31; // 建成年份开始时间戳 int64 building_start = 32; // 建成年份结束时间戳 int64 building_end = 33; // 绿化率 double green_percent = 34; // 容积率 double area_percent = 35; // 车位配比 string space_info = 36; // 占地面积 double covered_area = 37; // 建筑面积 double building_area = 38; // 小区图片 repeated string garden_pics = 39; // 开发企业 string building_company = 40; // 总户数 int64 house_total = 41; // 固定车位数 int64 space_total = 42; // 物业费开始,单位分 int64 property_fee_start = 43; // 物业费结束, 单位分 int64 property_fee_end = 44; // 水费类型多选 1 民用 2 商用 repeated int32 water_type = 45; // 电费类型多选 1 民用 2 商用 repeated int32 electric_type = 46; // 燃气费开始,单位分 int64 gas_fee_start = 47; // 燃气费开始,单位分 int64 gas_fee_end = 48; int64 avg_price = 49; int64 rent_count = 50; int64 sell_count = 51; int64 rent_avg_price = 52; } message GardenInfosReply { repeated GardenItem list = 1; } message GardenListRequest { int64 page = 1; int64 page_size = 2; int64 cid = 3; string committee_code = 4; bool need_appendix = 5; bool not_approved = 6; string street_code = 7; string garden_name = 8; int32 approve_status = 9; int64 building_year_greater = 10; int64 building_year_less = 11; int32 building_type = 12; int64 price_greater = 13; int64 price_less = 14; string area_code = 15; string city_code = 16; string province_code = 18; bool management = 19; bool household = 20; } message GardenListReply { int64 page = 1; int64 total = 2; repeated GardenItem list = 3; } message GardenIdInfo { int64 garden_id = 1; string garden_name = 2; } message GardenIdsRequest { string garden_name = 1; int64 building_year_greater = 3; int64 building_year_less = 4; int32 building_type = 5; } message GardenIdsReply { repeated GardenIdInfo garden_ids = 1; }