package javafile;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="appraise")
public class appraise implements Serializable {
private int aid;
private loginuser username;
private tushuguanli goodname;
private String levels;
private String appraise;
private int hid;
public int getHid() {
return hid;
}
public void setHid(int hid) {
this.hid = hid;
}
@Id
@GeneratedValue
public int getAid() {
return aid;
}
public void setAid(int aid) {
this.aid = aid;
}
@ManyToOne(cascade = CascadeType.ALL)
@JoinColumn(name = "userename")
public loginuser getUsername() {
return username;
}
public void setUsername(loginuser username) {
this.username = username;
}
@ManyToOne(cascade = CascadeType.ALL)
@JoinColumn(name = "goodname")
public tushuguanli getGoodname() {
return goodname;
}
public void setGoodname(tushuguanli goodname) {
this.goodname = goodname;
}
@Column(name="pingji")
public String getLevels() {
return levels;
}
public void setLevels(String levels) {
this.levels = levels;
}
public String getAppraise() {
return appraise;
}
public void setAppraise(String appraise) {
this.appraise = appraise;
}
}
最近下载更多
淞 LV6
2023年6月4日
13133117021 LV5
2023年5月21日
cc0706cc LV4
2023年1月3日
2019188059 LV2
2022年1月9日
枝江tom LV2
2021年12月25日
无语 LV4
2021年12月10日
zxcvbnmg LV3
2021年12月8日
wanglinddad LV55
2021年7月4日
为了水掉6位用户名 LV4
2021年6月28日
橙 LV5
2021年6月23日
最近浏览更多
微信网友_6956978011000832 LV2
7月27日
ccsaba
7月19日
暂无贡献等级
su19971119 LV1
6月27日
renjunyou LV10
6月2日
taoshen95 LV16
3月26日
ma406805131 LV19
2024年12月18日
我做梦 LV2
2024年12月14日
chinajy LV2
2024年12月8日
123wwwghh LV2
2024年9月18日
曾显示 LV6
2024年7月7日

