添加点赞++功能

This commit is contained in:
sjm
2023-12-20 17:22:56 +08:00
parent a001f2f05f
commit 09165ec608
4 changed files with 127 additions and 0 deletions

View File

@@ -9,6 +9,86 @@ import lombok.Data;
*/
@Data
public class Comment implements Serializable {
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUrlId() {
return urlId;
}
public void setUrlId(Integer urlId) {
this.urlId = urlId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public Integer getRootCommentId() {
return rootCommentId;
}
public void setRootCommentId(Integer rootCommentId) {
this.rootCommentId = rootCommentId;
}
public Long getLikeCount() {
return likeCount;
}
public void setLikeCount(Long likeCount) {
this.likeCount = likeCount;
}
public Date getCommentTime() {
return commentTime;
}
public void setCommentTime(Date commentTime) {
this.commentTime = commentTime;
}
public Byte getCommentStatus() {
return commentStatus;
}
public void setCommentStatus(Byte commentStatus) {
this.commentStatus = commentStatus;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getRating() {
return rating;
}
public void setRating(Integer rating) {
this.rating = rating;
}
/**
* id
*/