123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-garden/pb/v1";
- message GardenHouseRentSyncRequest {
- bool insert = 1;
- int64 garden_id = 2;
- bytes datas = 3;
- int64 increase = 4;
- }
- message GardenHouseRentSyncReply {
- }
- message HouseRentBaseConf {
- // 床
- bool bed = 1;
- // 天然气
- bool gas = 2;
- // 暖气
- bool warm_gas = 3;
- // 宽带
- bool broadband = 4;
- // 冰箱
- bool refragerator = 5;
- // 衣柜
- bool wardobe = 6;
- // 沙发
- bool sofa = 7;
- // 空调
- bool aircondition = 8;
- // 电视机
- bool tv = 9;
- // 热水器
- bool heater = 10;
- // 洗衣机
- bool warshing = 11;
- }
- message HouseRentSpecialConf {
- // 智能门锁
- bool intelligent_lock = 1;
- // wifi
- bool wifi = 2;
- // 近地铁
- bool metro = 3;
- // 停车位
- bool park_space = 4;
- // 独卫
- bool independent_wc = 5;
- // 私人阳台
- bool private_balcony = 6;
- // 首次出租
- bool first_rent = 7;
- }
- message GardenHouseRentListRequest {
- int64 garden_id = 1;
- string province_code = 2;
- string city_code = 3;
- string area_code = 4;
- string street_code = 5;
- int64 room_count = 6;
- int64 hall_count = 7;
- int64 wc_count = 8;
- int64 household_uid = 9;
- int64 rent_price_greater = 10;
- int64 rent_price_less = 11;
- int64 approve_status = 12;
- int64 page = 13;
- int64 page_size = 14;
- int64 base_conf = 15;
- int64 special_conf = 16;
- string contacter = 17;
- string contacter_phone = 18;
- }
- message HouseRentItem {
- string house_name = 1;
- int64 layer = 2;
- double house_area = 3;
- int32 direction = 4;
- int64 room_count = 5;
- int64 hall_count = 6;
- int64 wc_count = 7;
- int32 decorating = 8;
- string contacter = 9;
- string contact_phone = 10;
- int32 pay_time_type = 11;
- int32 rent_type = 12;
- int32 room_type = 13;
- double room_area = 14;
- int64 rent_price = 15;
- int64 desposit = 16;
- int64 in_time = 17;
- int64 service_price = 18;
- int64 intermediary_price = 19;
- int64 base_conf = 20;
- int64 special_conf = 21;
- string desc = 22;
- repeated string house_pic = 23;
- repeated string cert_pic = 24;
- bool has_lift = 25;
- int64 garden_id = 26;
- int64 id = 27;
- int32 approve_status = 28;
- string province = 29;
- string city = 30;
- string area = 31;
- string street = 32;
- string garden_name = 33;
- // 纬度
- double lat = 34;
- // 经度
- double lnt = 35;
- string addr = 36;
- int64 house_id = 37;
- string garden_desc = 38;
- int64 household_uid = 39;
- string real_name = 40;
- string phone = 41;
- }
- message GardenHouseRentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseRentItem list = 3;
- }
- message HouseRentAddManagerRequest {
- int64 garden_id = 1;
- int64 manager_uid = 2;
- int64 rent_id = 3;
- }
- message HouseRentAddManagerReply {
- int64 id = 1;
- }
- message HouseRentDelManagerRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message HouseRentDelManagerReply {
- }
- message HouseRentManagerListRequest {
- int64 garden_id = 1;
- int64 rent_id = 4;
- }
- message HouseRentManagerItem {
- int64 id = 1;
- int64 manager_uid = 2;
- // 姓名
- string name = 3;
- string phone = 4;
- // 账号
- string user_name = 5;
- string openim_id = 6;
- }
- message HouseRentManagerListReply {
- repeated HouseRentManagerItem list = 1;
- }
- message GardenHouseRentInfoRequest {
- int64 garden_id = 1;
- }
- message GardenHouseRentInfoReply {
- int64 avg_price = 1;
- int64 rent_count = 2;
- int64 sell_count = 3;
- }
|