Update JianshenkechengLiuyanVO.java

王刚注释
pz2femycj 4 months ago
parent 4385107c34
commit 66a4354833

@ -1,213 +1,134 @@
package com.entity.vo; package com.entity.vo;
import com.entity.JianshenkechengLiuyanEntity; import com.entity.JianshenkechengLiuyanEntity;
import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date; import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable; import java.io.Serializable;
/** // 健身课程留言手机端接口返回VO去除不必要字段
* @TableName("jianshenkecheng_liuyan")
* public class JianshenkechengLiuyanVO implements Serializable {
* private static final long serialVersionUID = 1L;
*/
@TableName("jianshenkecheng_liuyan") // 主键ID
public class JianshenkechengLiuyanVO implements Serializable { @TableField(value = "id")
private static final long serialVersionUID = 1L; private Integer id;
// 关联的健身课程ID
/** @TableField(value = "jianshenkecheng_id")
* private Integer jianshenkechengId;
*/
// 留言用户ID
@TableField(value = "id") @TableField(value = "yonghu_id")
private Integer id; private Integer yonghuId;
// 留言内容文本
/** @TableField(value = "jianshenkecheng_liuyan_text")
* private String jianshenkechengLiuyanText;
*/
// 留言时间(带时区格式化)
@TableField(value = "jianshenkecheng_id") @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
private Integer jianshenkechengId; @DateTimeFormat
@TableField(value = "insert_time")
private Date insertTime;
/**
* // 管理员回复内容
*/ @TableField(value = "reply_text")
private String replyText;
@TableField(value = "yonghu_id")
private Integer yonghuId; // 回复时间(带时区格式化)
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
@DateTimeFormat
/** @TableField(value = "update_time")
* private Date updateTime;
*/
// 记录创建时间(用于特定展示场景)
@TableField(value = "jianshenkecheng_liuyan_text") @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
private String jianshenkechengLiuyanText; @DateTimeFormat
@TableField(value = "create_time")
private Date createTime;
/**
* // 获取主键ID
*/ public Integer getId() {
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") return id;
@DateTimeFormat }
@TableField(value = "insert_time") // 设置主键ID
private Date insertTime; public void setId(Integer id) {
this.id = id;
}
/**
* // 获取关联课程ID
*/ public Integer getJianshenkechengId() {
return jianshenkechengId;
@TableField(value = "reply_text") }
private String replyText;
// 设置关联课程ID
public void setJianshenkechengId(Integer jianshenkechengId) {
/** this.jianshenkechengId = jianshenkechengId;
* }
*/
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") // 获取留言用户ID
@DateTimeFormat public Integer getYonghuId() {
return yonghuId;
@TableField(value = "update_time") }
private Date updateTime;
// 设置留言用户ID
public void setYonghuId(Integer yonghuId) {
/** this.yonghuId = yonghuId;
* show3 listShow }
*/
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") // 获取:留言内容
@DateTimeFormat public String getJianshenkechengLiuyanText() {
return jianshenkechengLiuyanText;
@TableField(value = "create_time") }
private Date createTime;
// 设置:留言内容
public void setJianshenkechengLiuyanText(String jianshenkechengLiuyanText) {
/** this.jianshenkechengLiuyanText = jianshenkechengLiuyanText;
* }
*/
public Integer getId() { // 获取:留言时间
return id; public Date getInsertTime() {
} return insertTime;
}
/** // 设置:留言时间
* public void setInsertTime(Date insertTime) {
*/ this.insertTime = insertTime;
}
public void setId(Integer id) {
this.id = id; // 获取:回复内容
} public String getReplyText() {
/** return replyText;
* }
*/
public Integer getJianshenkechengId() { // 设置:回复内容
return jianshenkechengId; public void setReplyText(String replyText) {
} this.replyText = replyText;
}
/** // 获取:回复时间
* public Date getUpdateTime() {
*/ return updateTime;
}
public void setJianshenkechengId(Integer jianshenkechengId) {
this.jianshenkechengId = jianshenkechengId; // 设置:回复时间
} public void setUpdateTime(Date updateTime) {
/** this.updateTime = updateTime;
* }
*/
public Integer getYonghuId() { // 获取:创建时间(展示用)
return yonghuId; public Date getCreateTime() {
} return createTime;
}
/** // 设置:创建时间(展示用)
* public void setCreateTime(Date createTime) {
*/ this.createTime = createTime;
}
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;
}
}
Loading…
Cancel
Save