blob: 6b96288d1d1a2be3496b4baff6f835574f867fda [file] [log] [blame]
刘嘉昕f28ea232025-04-15 16:55:43 +08001package com.pt5.pthouduan.entity;
2
3import com.baomidou.mybatisplus.annotation.TableId;
4import com.baomidou.mybatisplus.annotation.TableName;
5
6import java.io.Serializable;
7import java.time.LocalDateTime;
8
9/**
10 * <p>
11 *
12 * </p>
13 *
14 * @author ljx
15 * @since 2025-04-14
16 */
17@TableName("comment")
18public 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}