From b7aa6148f64bbb653c264003ecc9bafaabcf6f75 Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:25:17 +0800 Subject: [PATCH] ADD file via upload --- src/main/java/com/entity/FoodsMenuInfo.java | 93 +++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/main/java/com/entity/FoodsMenuInfo.java diff --git a/src/main/java/com/entity/FoodsMenuInfo.java b/src/main/java/com/entity/FoodsMenuInfo.java new file mode 100644 index 0000000..ec680f6 --- /dev/null +++ b/src/main/java/com/entity/FoodsMenuInfo.java @@ -0,0 +1,93 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "foods_menu_info") +public class FoodsMenuInfo { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "name") + private String name; + @Column(name = "description") + private String description; + @Column(name = "tips") + private String tips; + @Column(name = "subId") + private Long subId; + @Column(name = "fileName") + private String fileName; + @Column(name = "fileId") + private Long fileId; + @Column(name = "userName") + private String userName; + @Column(name = "level") + private Integer level; + @Column(name = "uploadUserId") + private Long uploadUserId; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public String getTips() { + return tips; + } + public void setTips(String tips) { + this.tips = tips; + } + public Long getSubId() { + return subId; + } + public void setSubId(Long subId) { + this.subId = subId; + } + public String getFileName() { + return fileName; + } + public void setFileName(String fileName) { + this.fileName = fileName; + } + public Long getFileId() { + return fileId; + } + public void setFileId(Long fileId) { + this.fileId = fileId; + } + public String getUserName() { + return userName; + } + public void setUserName(String userName) { + this.userName = userName; + } + public Integer getLevel() { + return level; + } + public void setLevel(Integer level) { + this.level = level; + } + public Long getUploadUserId() { + return uploadUserId; + } + public void setUploadUserId(Long uploadUserId) { + this.uploadUserId = uploadUserId; + } + + + public void setId(Long id) { + this.id = id; + } + public Long getId() { + return this.id; + } + +}