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