ADD file via upload

master
p5j9vn3t2 2 years ago
parent 1279fcc729
commit b7aa6148f6

@ -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;
}
}
Loading…
Cancel
Save