123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-system-gateway/pb/v1";
- message HouseholdApplyRequest {
- int64 uid = 1;
- // 1业主 2家人 3租客
- int32 user_type = 2;
- string phone = 3;
- string name = 4;
- int64 house_id = 5;
- // 1 身份证 2 护照
- int32 id_type = 6;
- // 证件号
- string id_number = 7;
- repeated string appendix = 8;
- }
- message HouseholdApplyReply {
- int64 id = 1;
- }
- message HouseholdApproveRequest {
- int64 id = 1;
- bool status = 2;
- string feedback = 3;
- }
- message HouseholdApproveReply {
- }
- message HouseholdListRequest {
- int64 garden_id = 1;
- int64 uid = 2;
- int64 page = 3;
- int64 page_size = 4;
- int32 approve_status = 5;
- int32 user_type = 6;
- string name = 7;
- }
- message HouseholdItem {
- int64 id = 1;
- // 1业主 2家人 3租客
- int32 user_type = 2;
- string phone = 3;
- string name = 4;
- repeated string appendix = 5;
- // 1 身份证 2 护照
- int32 id_type = 6;
- // 证件号
- string id_number = 7;
- // 房号
- string house_name = 8;
- int32 approve_status = 9;
- string garden_name = 10;
- int64 house_id = 11;
- int64 garden_id = 12;
- int64 uid = 13;
- }
- message HouseholdListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseholdItem list = 3;
- }
- message HouseholdUserListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- int32 user_type = 6;
- string name = 7;
- }
- message HouseholdUserItem {
- int64 id = 1;
- // 1业主 2家人 3租客
- int32 user_type = 2;
- string phone = 3;
- string name = 4;
- // 1 身份证 2 护照
- int32 id_type = 5;
- // 证件号
- string id_number = 6;
- string garden_name = 7;
- }
- message HouseholdUserListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseholdUserItem list = 3;
- }
- 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 HouseRentApplyRequest {
- // 房屋号
- int64 house_id = 1;
- // 楼层
- int64 layer = 2;
- // 房屋建筑面积
- double house_area = 3;
- // 朝向
- int32 direction = 4;
- // 几室
- int64 room_count = 5;
- // 几厅
- int64 hall_count = 6;
- // 几卫
- int64 wc_count = 7;
- // 1 精装 2 简装 3 清水
- int32 decorating = 8;
- // 联系人
- string contacter = 9;
- // 联系人电话
- string contact_phone = 10;
- // 1 月付 2 季付 3 半年付 4 年付
- int32 pay_time_type = 11;
- // 1 整租 2 合租 3 转租
- int32 rent_type = 12;
- // 1 全部 2 主卧 3 次卧
- 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;
- // 业主uid
- int64 household_uid = 25;
- // 是否有电梯
- bool has_lift = 26;
- // 是否直接通过审核
- bool approve = 27;
- // 小区id
- int64 garden_id = 28;
- // 纬度
- double lat = 29;
- // 经度
- double lnt = 30;
- }
- message HouseRentApplyReply {
- int64 id = 1;
- }
- message HouseRentUpdateRequest {
- // 房屋号
- int64 house_id = 1;
- // 楼层
- int64 layer = 2;
- // 房屋建筑面积
- double house_area = 3;
- // 朝向
- int32 direction = 4;
- // 几室
- int64 room_count = 5;
- // 几厅
- int64 hall_count = 6;
- // 几卫
- int64 wc_count = 7;
- // 1 精装 2 简装 3 清水
- int32 decorating = 8;
- // 联系人
- string contacter = 9;
- // 联系人电话
- string contact_phone = 10;
- // 1 月付 2 季付 3 半年付 4 年付
- int32 pay_time_type = 11;
- // 1 整租 2 合租 3 转租
- int32 rent_type = 12;
- // 1 全部 2 主卧 3 次卧
- 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;
- // 纬度
- double lat = 28;
- // 经度
- double lnt = 30;
- }
- message HouseRentUpdateReply {
- }
- message HouseRentApproveRequest {
- int64 id = 1;
- int64 garden_id = 2;
- bool status = 3;
- string feedback = 4;
- }
- message HouseRentApproveReply {
- }
- message HouseRentDownRequest {
- int64 id = 1;
- int64 garden_id = 2;
- }
- message HouseRentDownReply {
- }
- message HouseRentListRequest {
- 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;
- }
- 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;
- // 1 精装 2 简装 3 清水
- int32 decorating = 8;
- // 联系人
- string contacter = 9;
- // 联系人电话
- string contact_phone = 10;
- // 1 月付 2 季付 3 半年付 4 年付
- int32 pay_time_type = 11;
- // 1 整租 2 合租 3 转租
- int32 rent_type = 12;
- // 1 全部 2 主卧 3 次卧
- 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;
- // 小区id
- int64 garden_id = 26;
- // 租房id
- int64 id = 27;
- // 审核状态 1 待审 2 通过 3 未通过
- 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;
- }
- message HouseRentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseRentItem list = 3;
- }
- 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;
- }
- message GardenHouseRentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseRentItem list = 3;
- }
- message HouseRentAppointmentDelRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message HouseRentAppointmentDelReply {
- }
- message HouseRentAppointmentListRequest {
- int64 garden_id = 1;
- int64 rent_id = 2;
- int64 uid = 3;
- int64 page = 4;
- int64 page_size = 5;
- string house_name = 6;
- string phone = 7;
- string name = 8;
- }
- message HouseRentAppointmentItem {
- int64 id = 1;
- int64 uid = 2;
- int64 rent_id = 3;
- string name = 4;
- string phone = 5;
- int32 gender = 6;
- int64 appointment_time = 7;
- string house_name = 8;
- double area = 9;
- int64 layer = 10;
- // 1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期
- int32 status = 11;
- string garden_name = 12;
- int64 garden_id = 13;
- }
- message HouseRentAppointmentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseRentAppointmentItem list = 3;
- }
- message HouseRentAppointmentStatusRequest {
- int64 id = 1;
- //2 已受理,3 已拒绝,4 未到访,5已到访
- int32 status = 2;
- int64 garden_id = 3;
- string feedback = 4;
- }
- message HouseRentAppointmentStatusReply {
- }
|