From f46687ac5de2f79a277efba1f3c1f9e224cbf623 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期二, 30 一月 2024 16:43:05 +0800 Subject: [PATCH] 修改附近方圆报错 --- guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/res/SearchHousingDemandListRes.java | 35 ++++++++++++++++++++++++++++++----- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/res/SearchHousingDemandListRes.java b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/res/SearchHousingDemandListRes.java index 2221e67..d0c1e72 100644 --- a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/res/SearchHousingDemandListRes.java +++ b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/res/SearchHousingDemandListRes.java @@ -1,9 +1,11 @@ package com.stylefeng.guns.modular.system.warpper.res; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import java.util.Date; import java.util.List; /** @@ -17,30 +19,53 @@ private Integer id; @ApiModelProperty("用户id") private Integer appuserId; + @ApiModelProperty("租期") + private Integer rentalDuration; + @ApiModelProperty("类型 1=出租 2=买卖") + private Integer dataType; @ApiModelProperty("标题") private String title; @ApiModelProperty("户型") private String houseModel; + @ApiModelProperty("房屋类型id") + private String houseTypeId; + @ApiModelProperty("房屋类型名称") + private String houseTypeName; @ApiModelProperty("地址") private List<String> address; @ApiModelProperty("价格") - private Double saleAmount; + private String saleAmount; @ApiModelProperty("头像") private String profilePhoto; @ApiModelProperty("昵称") private String nickname; @ApiModelProperty("是否有电梯(0=否,1=是)") private Integer elevator; - @ApiModelProperty("是否有晾晒区(0=否,1=是)") + @ApiModelProperty("无(0=否,1=是)") + private Integer air; + @ApiModelProperty("是否有天台(0=否,1=是)") private Integer dryingArea; - @ApiModelProperty("是否有花园(0=否,1=是)") - private Integer garden; + @ApiModelProperty("是否有阳台(0=否,1=是)") + private Integer balcony; @ApiModelProperty("是否有车位(0=否,1=是)") private Integer carport; @ApiModelProperty("是否有平台(0=否,1=是)") - private Integer balcony; + private Integer platform; + @ApiModelProperty("是否有花园(0=否,1=是)") + private Integer garden; @ApiModelProperty("是否可养宠物(0=否,1=是)") private Integer keepPet; @ApiModelProperty("类型 1=草稿 2=发布") private Integer type; + @ApiModelProperty("发布时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date insertTime; + @ApiModelProperty("状态 0下架 1上架") + private Integer status; + @ApiModelProperty("浏览量") + private Integer viewsNumber; + @ApiModelProperty("收藏量") + private Integer collect; + @ApiModelProperty("顶上去时间") + private Date upTime; } -- Gitblit v1.7.1