123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-company/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;
- }
- message GardenInfosReply {
- repeated GardenItem list = 1;
- }
- message GardenAddRequest {
- // 物业公司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;
- // 免费小区个数
- int32 free_garden_count = 16;
- string garden_pic = 17;
- string garden_desc = 18;
- // 经度
- double lnt = 19;
- // 纬度
- double lat = 20;
- repeated string appendix = 21;
- int64 order_id = 22;
- // 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;
- }
- message GardenAddReply {
- int64 id = 1;
- }
- message GardenListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 cid = 3;
- string committee_code = 4;
- }
- message GardenListReply {
- int64 page = 1;
- int64 total = 2;
- repeated GardenItem list = 3;
- }
- message GardenUpdateRequest {
- // id
- int64 id = 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 cid = 16;
- string garden_pic = 17;
- string garden_desc = 18;
- // 经度
- double lnt = 19;
- // 纬度
- double lat = 20;
- // 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;
- }
- message GardenUpdateReply {
- GardenUpdateRequest origin = 1;
- }
- message GardenDelRequest {
- int64 id = 1;
- int64 cid = 2;
- }
- message GardenDelReply {
- GardenUpdateRequest origin = 1;
- }
- message GardenChangeCompanyRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- }
- message GardenChangeCompanyReply {
- GardenChangeCompanyRequest origin = 1;
- }
|