diff --git a/src/main/java/com/entity/vo/DiscusswoyaodangfangzhuVO.java b/src/main/java/com/entity/vo/DiscusswoyaodangfangzhuVO.java new file mode 100644 index 0000000..2636864 --- /dev/null +++ b/src/main/java/com/entity/vo/DiscusswoyaodangfangzhuVO.java @@ -0,0 +1,83 @@ +package com.entity.vo; + +import java.io.Serializable; + + +/** + * 我要当房主评论表 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class DiscusswoyaodangfangzhuVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 用户id + */ + + private Long userid; + + /** + * 评论内容 + */ + + private String content; + + /** + * 回复内容 + */ + + private String reply; + + + /** + * 设置:用户id + */ + + public void setUserid(Long userid) { + this.userid = userid; + } + + /** + * 获取:用户id + */ + public Long getUserid() { + return userid; + } + + + /** + * 设置:评论内容 + */ + + public void setContent(String content) { + this.content = content; + } + + /** + * 获取:评论内容 + */ + public String getContent() { + return content; + } + + + /** + * 设置:回复内容 + */ + + public void setReply(String reply) { + this.reply = reply; + } + + /** + * 获取:回复内容 + */ + public String getReply() { + return reply; + } + +} diff --git a/src/main/java/com/entity/vo/WoyaodangfangzhuVO.java b/src/main/java/com/entity/vo/WoyaodangfangzhuVO.java new file mode 100644 index 0000000..51fdb7d --- /dev/null +++ b/src/main/java/com/entity/vo/WoyaodangfangzhuVO.java @@ -0,0 +1,309 @@ +package com.entity.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; +import java.util.Date; + + +/** + * 我要当房主 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class WoyaodangfangzhuVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 图片 + */ + + private String tupian; + + /** + * 租赁方式 + */ + + private String zulinfangshi; + + /** + * 朝向楼层 + */ + + private String chaoxianglouceng; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 面积 + */ + + private String mianji; + + /** + * 月租价格 + */ + + private Integer yuezujiage; + + /** + * 房屋详情 + */ + + private String fangwuxiangqing; + + /** + * 发布日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date faburiqi; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:图片 + */ + + public void setTupian(String tupian) { + this.tupian = tupian; + } + + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + + + /** + * 设置:租赁方式 + */ + + public void setZulinfangshi(String zulinfangshi) { + this.zulinfangshi = zulinfangshi; + } + + /** + * 获取:租赁方式 + */ + public String getZulinfangshi() { + return zulinfangshi; + } + + + /** + * 设置:朝向楼层 + */ + + public void setChaoxianglouceng(String chaoxianglouceng) { + this.chaoxianglouceng = chaoxianglouceng; + } + + /** + * 获取:朝向楼层 + */ + public String getChaoxianglouceng() { + return chaoxianglouceng; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:面积 + */ + + public void setMianji(String mianji) { + this.mianji = mianji; + } + + /** + * 获取:面积 + */ + public String getMianji() { + return mianji; + } + + + /** + * 设置:月租价格 + */ + + public void setYuezujiage(Integer yuezujiage) { + this.yuezujiage = yuezujiage; + } + + /** + * 获取:月租价格 + */ + public Integer getYuezujiage() { + return yuezujiage; + } + + + /** + * 设置:房屋详情 + */ + + public void setFangwuxiangqing(String fangwuxiangqing) { + this.fangwuxiangqing = fangwuxiangqing; + } + + /** + * 获取:房屋详情 + */ + public String getFangwuxiangqing() { + return fangwuxiangqing; + } + + + /** + * 设置:发布日期 + */ + + public void setFaburiqi(Date faburiqi) { + this.faburiqi = faburiqi; + } + + /** + * 获取:发布日期 + */ + public Date getFaburiqi() { + return faburiqi; + } + + + /** + * 设置:用户名 + */ + + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + + + /** + * 设置:联系电话 + */ + + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + + + /** + * 设置:是否审核 + */ + + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + + + /** + * 设置:审核回复 + */ + + public void setShhf(String shhf) { + this.shhf = shhf; + } + + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +}