刘嘉昕 | f28ea23 | 2025-04-15 16:55:43 +0800 | [diff] [blame^] | 1 | package com.pt5.pthouduan.entity; |
| 2 | |
| 3 | import com.baomidou.mybatisplus.annotation.TableId; |
| 4 | import com.baomidou.mybatisplus.annotation.TableName; |
| 5 | |
| 6 | import java.io.Serializable; |
| 7 | import java.time.LocalDateTime; |
| 8 | |
| 9 | /** |
| 10 | * <p> |
| 11 | * |
| 12 | * </p> |
| 13 | * |
| 14 | * @author ljx |
| 15 | * @since 2025-04-14 |
| 16 | */ |
| 17 | @TableName("comment") |
| 18 | public class Comment implements Serializable { |
| 19 | |
| 20 | private static final long serialVersionUID = 1L; |
| 21 | |
| 22 | @TableId("commentid") |
| 23 | private String commentid; |
| 24 | |
| 25 | private Integer postid; |
| 26 | |
| 27 | private String postCommentcontent; |
| 28 | |
| 29 | private LocalDateTime commenttime; |
| 30 | |
| 31 | public String getCommentid() { |
| 32 | return commentid; |
| 33 | } |
| 34 | |
| 35 | public void setCommentid(String commentid) { |
| 36 | this.commentid = commentid; |
| 37 | } |
| 38 | |
| 39 | public Integer getPostid() { |
| 40 | return postid; |
| 41 | } |
| 42 | |
| 43 | public void setPostid(Integer postid) { |
| 44 | this.postid = postid; |
| 45 | } |
| 46 | |
| 47 | public String getPostCommentcontent() { |
| 48 | return postCommentcontent; |
| 49 | } |
| 50 | |
| 51 | public void setPostCommentcontent(String postCommentcontent) { |
| 52 | this.postCommentcontent = postCommentcontent; |
| 53 | } |
| 54 | |
| 55 | public LocalDateTime getCommenttime() { |
| 56 | return commenttime; |
| 57 | } |
| 58 | |
| 59 | public void setCommenttime(LocalDateTime commenttime) { |
| 60 | this.commenttime = commenttime; |
| 61 | } |
| 62 | |
| 63 | @Override |
| 64 | public String toString() { |
| 65 | return "Comment{" + |
| 66 | "commentid = " + commentid + |
| 67 | ", postid = " + postid + |
| 68 | ", postCommentcontent = " + postCommentcontent + |
| 69 | ", commenttime = " + commenttime + |
| 70 | "}"; |
| 71 | } |
| 72 | } |