diff --git a/JianshenkechengLiuyanVO.java b/JianshenkechengLiuyanVO.java new file mode 100644 index 0000000..f64c316 --- /dev/null +++ b/JianshenkechengLiuyanVO.java @@ -0,0 +1,213 @@ +package com.entity.vo; + +import com.entity.JianshenkechengLiuyanEntity; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; + +/** + * 课程留言 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + */ +@TableName("jianshenkecheng_liuyan") +public class JianshenkechengLiuyanVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 主键 + */ + + @TableField(value = "id") + private Integer id; + + + /** + * 健身课程 + */ + + @TableField(value = "jianshenkecheng_id") + private Integer jianshenkechengId; + + + /** + * 用户 + */ + + @TableField(value = "yonghu_id") + private Integer yonghuId; + + + /** + * 留言内容 + */ + + @TableField(value = "jianshenkecheng_liuyan_text") + private String jianshenkechengLiuyanText; + + + /** + * 留言时间 + */ + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + + @TableField(value = "insert_time") + private Date insertTime; + + + /** + * 回复内容 + */ + + @TableField(value = "reply_text") + private String replyText; + + + /** + * 回复时间 + */ + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + + @TableField(value = "update_time") + private Date updateTime; + + + /** + * 创建时间 show3 listShow + */ + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + + @TableField(value = "create_time") + private Date createTime; + + + /** + * 设置:主键 + */ + public Integer getId() { + return id; + } + + + /** + * 获取:主键 + */ + + public void setId(Integer id) { + this.id = id; + } + /** + * 设置:健身课程 + */ + public Integer getJianshenkechengId() { + return jianshenkechengId; + } + + + /** + * 获取:健身课程 + */ + + public void setJianshenkechengId(Integer jianshenkechengId) { + this.jianshenkechengId = jianshenkechengId; + } + /** + * 设置:用户 + */ + public Integer getYonghuId() { + return yonghuId; + } + + + /** + * 获取:用户 + */ + + public void setYonghuId(Integer yonghuId) { + this.yonghuId = yonghuId; + } + /** + * 设置:留言内容 + */ + public String getJianshenkechengLiuyanText() { + return jianshenkechengLiuyanText; + } + + + /** + * 获取:留言内容 + */ + + public void setJianshenkechengLiuyanText(String jianshenkechengLiuyanText) { + this.jianshenkechengLiuyanText = jianshenkechengLiuyanText; + } + /** + * 设置:留言时间 + */ + public Date getInsertTime() { + return insertTime; + } + + + /** + * 获取:留言时间 + */ + + public void setInsertTime(Date insertTime) { + this.insertTime = insertTime; + } + /** + * 设置:回复内容 + */ + public String getReplyText() { + return replyText; + } + + + /** + * 获取:回复内容 + */ + + public void setReplyText(String replyText) { + this.replyText = replyText; + } + /** + * 设置:回复时间 + */ + public Date getUpdateTime() { + return updateTime; + } + + + /** + * 获取:回复时间 + */ + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + /** + * 设置:创建时间 show3 listShow + */ + public Date getCreateTime() { + return createTime; + } + + + /** + * 获取:创建时间 show3 listShow + */ + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + +}