From d01367290171566d4a02a96a8077db22d1aeac4e Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:27:16 +0800 Subject: [PATCH] ADD file via upload --- .../java/com/entity/NotesInfoComment.java | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/main/java/com/entity/NotesInfoComment.java diff --git a/src/main/java/com/entity/NotesInfoComment.java b/src/main/java/com/entity/NotesInfoComment.java new file mode 100644 index 0000000..ad0a8f8 --- /dev/null +++ b/src/main/java/com/entity/NotesInfoComment.java @@ -0,0 +1,59 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "comment_notes_info") +public class NotesInfoComment { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "content") + private String content; + @Column(name = "time") + private String time; + @Column(name = "name") + private String name; + @Column(name = "foreignId") + private Long foreignId; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Long getForeignId() { + return foreignId; + } + + public void setForeignId(Long foreignId) { + this.foreignId = foreignId; + } +}