From 3d516e11cb7b8208500ec826973cadbceb865daf Mon Sep 17 00:00:00 2001 From: wxz Date: Fri, 5 May 2023 17:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E6=A6=86?= =?UTF-8?q?=E5=B1=B1=E6=88=BF=E5=B1=8B=E7=A7=9F=E5=94=AE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=92=8C=E5=AE=A1=E6=A0=B8=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E3=80=82=E6=98=8E=E5=A4=A9=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form/HouseSaleRentInfoPublishFormDTO.java | 76 +++++++++++++++++ .../HouseSaleRentInfoListResultDTO.java | 84 +++++++++++++++++++ 2 files changed, 160 insertions(+) create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/form/HouseSaleRentInfoPublishFormDTO.java create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/result/HouseSaleRentInfoListResultDTO.java diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/form/HouseSaleRentInfoPublishFormDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/form/HouseSaleRentInfoPublishFormDTO.java new file mode 100644 index 0000000..2abeaeb --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/form/HouseSaleRentInfoPublishFormDTO.java @@ -0,0 +1,76 @@ +package com.elink.esua.epdc.dto.house.form; + +import lombok.Data; + +import java.util.List; + +/** + * 房屋租售信息发布formdto + */ +@Data +public class HouseSaleRentInfoPublishFormDTO { + /** + * 房屋状态。1在售,2在租 + */ + private Integer houseStatus; + + /** + * 房屋类别(用途)。1.住宅,2办公,3门头 + */ + private Integer houseType; + + /** + * 户型 + */ + private String houseModel; + + /** + * 面积 + */ + private String area; + + /** + * 套内面积 + */ + private String insideArea; + + /** + * 楼层 + */ + private String floor; + + /** + * 价格 + */ + private String price; + + /** + * 朝向 + */ + private String orientation; + + /** + * 电梯。0无,1有 + */ + private Integer hasElevator; + + /** + * 描述 + */ + private String description; + + /** + * 图片列表。json存储 + */ + private List photoList; + + /** + * 联系方式 + */ + private String contact; + + /** + * 地址 + */ + private String address; +} diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/result/HouseSaleRentInfoListResultDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/result/HouseSaleRentInfoListResultDTO.java new file mode 100644 index 0000000..58cb7b4 --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/house/result/HouseSaleRentInfoListResultDTO.java @@ -0,0 +1,84 @@ +package com.elink.esua.epdc.dto.house.result; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.util.Date; +import java.util.List; + +@Data +public class HouseSaleRentInfoListResultDTO { + /** + * 房屋状态。1在售,2在租 + */ + private Integer houseStatus; + /** + * 房屋状态中文 + */ + private String houseStatusDisplay; + + /** + * 房屋类别(用途)。1.住宅,2办公,3门头 + */ + private Integer houseType; + + /** + * 户型 + */ + private String houseModel; + + /** + * 面积 + */ + private String area; + + /** + * 套内面积 + */ + private String insideArea; + + /** + * 楼层 + */ + private String floor; + + /** + * 价格 + */ + private String price; + + /** + * 朝向 + */ + private String orientation; + + /** + * 电梯。0无,1有 + */ + private Integer hasElevator; + + /** + * 描述 + */ + private String description; + + /** + * 图片列表。json存储 + */ + private List photoList; + + /** + * 联系方式 + */ + private String contact; + + /** + * 地址 + */ + private String address; + + @JsonFormat(pattern = "yyy-MM-dd") + private Date createdData; + + private Date createdTime; +}