| 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 + |
| "}"; |
| } |
| } |