You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
852 B

package com.example.demo.model;
import javax.persistence.*;
@Entity(name = "diancan_detail")
public class DiancanDetail {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String zhuohao;
@Column(name = "menu_id")
private String menuId;
private String sum;
public String getMenuId() {
return menuId;
}
public void setMenuId(String menuId) {
this.menuId = menuId;
}
public String getSum() {
return sum;
}
public void setSum(String sum) {
this.sum = sum;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getZhuohao() {
return zhuohao;
}
public void setZhuohao(String zhuohao) {
this.zhuohao = zhuohao;
}
}