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; +}