📄 orderdetail.java
字号:
package Entity.Pojo;
/**
* OrderDetail generated by MyEclipse - Hibernate Tools
*/
public class OrderDetail implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer id;
private Integer orderId;
private String goods;
private Double singlePrice;
private OrderInfo orderIn;
/**
* @return the orderIn
*/
public OrderInfo getOrderIn() {
return orderIn;
}
/**
* @param orderIn
* the orderIn to set
*/
public void setOrderIn(OrderInfo orderIn) {
this.orderIn = orderIn;
}
/** default constructor */
public OrderDetail() {
}
/** full constructor */
public OrderDetail(Integer orderId, String goods, Double singlePrice) {
this.orderId = orderId;
this.goods = goods;
this.singlePrice = singlePrice;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getOrderId() {
return this.orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public String getGoods() {
return this.goods;
}
public void setGoods(String goods) {
this.goods = goods;
}
public Double getSinglePrice() {
return this.singlePrice;
}
public void setSinglePrice(Double singlePrice) {
this.singlePrice = singlePrice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -