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