package javafile;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="cart")
public class cart {
private int dingdanid;
private loginuser usernmae;
private String tushuname;
private int count;
private float price;
@Id
public int getDingdanid() {
return dingdanid;
}
public void setDingdanid(int dingdanid) {
this.dingdanid = dingdanid;
}
@ManyToOne(cascade = CascadeType.ALL)
@JoinColumn(name = "username")
public loginuser getUsernmae() {
return usernmae;
}
public void setUsernmae(loginuser usernmae) {
this.usernmae = usernmae;
}
public String getTushuname() {
return tushuname;
}
public void setTushuname(String tushuname) {
this.tushuname = tushuname;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public float getPrice() {
return price;
}
public void setPrice(float price) {
this.price = price;
}
}
最近下载更多
淞 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日

