From 9f88b12d16c83963dad8fb8f79d9eeba2c311518 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 20 八月 2024 09:10:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/req/AddHouseReq.java | 51 +++++++++++++++++++++++++++++++++++---------------- 1 files changed, 35 insertions(+), 16 deletions(-) diff --git a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/req/AddHouseReq.java b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/req/AddHouseReq.java index ebb1f2f..f0f7f26 100644 --- a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/req/AddHouseReq.java +++ b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/warpper/req/AddHouseReq.java @@ -1,6 +1,5 @@ package com.stylefeng.guns.modular.system.warpper.req; -import com.baomidou.mybatisplus.annotations.TableField; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -13,32 +12,39 @@ @Data @ApiModel public class AddHouseReq { - + @ApiModelProperty(value = "数据id", required = true) + private Integer id; @ApiModelProperty(value = "类型 1=租赁 2=买卖", required = true) private Integer dataType; @ApiModelProperty(value = "户型", required = true) private String houseModel; - @ApiModelProperty(value = "出租时长(买卖房不填该字段) 例:1 = 不限 /1年1月 ", required = true) + @ApiModelProperty(value = "出租时长(买卖房不填该字段) 例:1 = 不限 /1年1月", required = true) private String time; - @ApiModelProperty(value = "出租(售卖)日期 例:随时/九月上旬", required = true) + @ApiModelProperty(value = "出租(售卖)日期 例:随时/九月上旬") private String startTime; @ApiModelProperty(value = "售卖金额(月租金额)", required = true) private BigDecimal saleAmount; @ApiModelProperty(value = "房屋类型", required = true) private Integer houseTypeId; - @ApiModelProperty(value = "所在楼层", required = true) + @ApiModelProperty(value = "所在楼层") private String floor; @ApiModelProperty(value = "是否有电梯(0=否,1=是)", required = true) private Integer elevator; - @ApiModelProperty(value = "是否有晾晒区(0=否,1=是)", required = true) + @ApiModelProperty(value = "是否有天台(0=否,1=是)", required = true) private Integer dryingArea; - @ApiModelProperty(value = "是否有花园(0=否,1=是)", required = true) + @ApiModelProperty(value = "无(0=否,1=是)", required = true) + private Integer air; + @ApiModelProperty(value = "是否有平台(0=否,1=是)") + private Integer platform; + @ApiModelProperty(value = "是否有阳台(0=否,1=是)") + private Integer balcony; + @ApiModelProperty(value = "是否有花园(0=否,1=是)") private Integer garden; @ApiModelProperty(value = "是否有车位(0=否,1=是)", required = true) private Integer carport; - @ApiModelProperty(value = "是否有平台(0=否,1=是)", required = true) - private Integer balcony; - @ApiModelProperty(value = "是否可养宠物(0=否,1=是)", required = true) + @ApiModelProperty(value ="公司盘 0=否1=是",required = false) + private Integer firmHouse; + @ApiModelProperty(value = "是否可养宠物(0=否,1=是)") private Integer keepPet; @ApiModelProperty(value = "房屋面积", required = true) private String houseArea; @@ -50,10 +56,13 @@ private String houseAddress; @ApiModelProperty(value = "所属小区", required = true) private String cellName; - @ApiModelProperty(value = "房源照片", required = true) + @ApiModelProperty(value = "房源照片") private String housePhoto; - @ApiModelProperty(value = "房源视频", required = true) + @ApiModelProperty(value = "视频封面") + private String videoPhoto; + @ApiModelProperty(value = "房源视频") private String houseVideo; + @ApiModelProperty(value = "标题", required = true) private String title; @ApiModelProperty(value = "更多介绍(求租描述)", required = true) @@ -66,15 +75,25 @@ private String phone; @ApiModelProperty(value = "房屋朝向", required = false) private String buildingOrientation; - @ApiModelProperty(value ="公司盘 0=否1=是",required = false) - private Integer firmHouse; @ApiModelProperty(value ="经度",required = true) private String longitude; @ApiModelProperty(value ="纬度",required = true) private String latitude; - @ApiModelProperty(value ="性别要求 1男2女3不限",required = true) + @ApiModelProperty(value ="性别要求 1男2女3不限") private Integer sex; - @ApiModelProperty(value ="类型1为草稿 2为发布",required = true) + @ApiModelProperty(value ="1=保存并退出,2=发布",required = true) private Integer type; + @ApiModelProperty(value ="是否有复式(0=否,1=是)") + private Integer compound; + @ApiModelProperty(value ="是否有全幢(0=否,1=是)") + private Integer building; + @ApiModelProperty(value ="是否有泳池(0=否,1=是)") + private Integer pool; + @ApiModelProperty(value ="同时可租租金") + private BigDecimal rentalMoney; + @ApiModelProperty(value ="楼龄") + private Integer age; + @ApiModelProperty(value = "房源封面图片") + private String headImg; } -- Gitblit v1.7.1