From cd53ae2df51691daebd604af6d12a0caef3e79b5 Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:28:10 +0800 Subject: [PATCH] ADD file via upload --- .../java/com/entity/NxSystemFileInfo.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/main/java/com/entity/NxSystemFileInfo.java diff --git a/src/main/java/com/entity/NxSystemFileInfo.java b/src/main/java/com/entity/NxSystemFileInfo.java new file mode 100644 index 0000000..6158029 --- /dev/null +++ b/src/main/java/com/entity/NxSystemFileInfo.java @@ -0,0 +1,39 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "nx_system_file_info") +public class NxSystemFileInfo { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "originName") + private String originName; + @Column(name = "fileName") + private String fileName; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getOriginName() { + return originName; + } + + public void setOriginName(String originName) { + this.originName = originName; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } +}