更改配置
Change-Id: Ibd1cf3c212dffe7952cbaab5e41886a3ebaae613
diff --git a/src/main/java/com/pt5/pthouduan/entity/Comment.java b/src/main/java/com/pt5/pthouduan/entity/Comment.java
new file mode 100644
index 0000000..6b96288
--- /dev/null
+++ b/src/main/java/com/pt5/pthouduan/entity/Comment.java
@@ -0,0 +1,72 @@
+package com.pt5.pthouduan.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * <p>
+ *
+ * </p>
+ *
+ * @author ljx
+ * @since 2025-04-14
+ */
+@TableName("comment")
+public class Comment implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ @TableId("commentid")
+ private String commentid;
+
+ private Integer postid;
+
+ private String postCommentcontent;
+
+ private LocalDateTime commenttime;
+
+ public String getCommentid() {
+ return commentid;
+ }
+
+ public void setCommentid(String commentid) {
+ this.commentid = commentid;
+ }
+
+ public Integer getPostid() {
+ return postid;
+ }
+
+ public void setPostid(Integer postid) {
+ this.postid = postid;
+ }
+
+ public String getPostCommentcontent() {
+ return postCommentcontent;
+ }
+
+ public void setPostCommentcontent(String postCommentcontent) {
+ this.postCommentcontent = postCommentcontent;
+ }
+
+ public LocalDateTime getCommenttime() {
+ return commenttime;
+ }
+
+ public void setCommenttime(LocalDateTime commenttime) {
+ this.commenttime = commenttime;
+ }
+
+ @Override
+ public String toString() {
+ return "Comment{" +
+ "commentid = " + commentid +
+ ", postid = " + postid +
+ ", postCommentcontent = " + postCommentcontent +
+ ", commenttime = " + commenttime +
+ "}";
+ }
+}