更改配置

Change-Id: Ibd1cf3c212dffe7952cbaab5e41886a3ebaae613
diff --git a/src/main/java/com/pt5/pthouduan/entity/Post.java b/src/main/java/com/pt5/pthouduan/entity/Post.java
new file mode 100644
index 0000000..d04a601
--- /dev/null
+++ b/src/main/java/com/pt5/pthouduan/entity/Post.java
@@ -0,0 +1,94 @@
+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("post")
+public class Post implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("postid")
+    private Integer postid;
+
+    private Long userid;
+
+    private LocalDateTime updatedTime;
+
+    private Boolean isSticky;
+
+    private String postTitle;
+
+    private LocalDateTime postCreatedTime;
+
+    public Integer getPostid() {
+        return postid;
+    }
+
+    public void setPostid(Integer postid) {
+        this.postid = postid;
+    }
+
+    public Long getUserid() {
+        return userid;
+    }
+
+    public void setUserid(Long userid) {
+        this.userid = userid;
+    }
+
+    public LocalDateTime getUpdatedTime() {
+        return updatedTime;
+    }
+
+    public void setUpdatedTime(LocalDateTime updatedTime) {
+        this.updatedTime = updatedTime;
+    }
+
+    public Boolean getIsSticky() {
+        return isSticky;
+    }
+
+    public void setIsSticky(Boolean isSticky) {
+        this.isSticky = isSticky;
+    }
+
+    public String getPostTitle() {
+        return postTitle;
+    }
+
+    public void setPostTitle(String postTitle) {
+        this.postTitle = postTitle;
+    }
+
+    public LocalDateTime getPostCreatedTime() {
+        return postCreatedTime;
+    }
+
+    public void setPostCreatedTime(LocalDateTime postCreatedTime) {
+        this.postCreatedTime = postCreatedTime;
+    }
+
+    @Override
+    public String toString() {
+        return "Post{" +
+        "postid = " + postid +
+        ", userid = " + userid +
+        ", updatedTime = " + updatedTime +
+        ", isSticky = " + isSticky +
+        ", postTitle = " + postTitle +
+        ", postCreatedTime = " + postCreatedTime +
+        "}";
+    }
+}