orderinfo.java
来自「本系统是struts+hibernate完成的,主要功能是一个网上购物管理系统」· Java 代码 · 共 95 行
JAVA
95 行
package Entity.Pojo;
import java.util.HashSet;
import java.util.Set;
/**
* OrderInfo generated by MyEclipse - Hibernate Tools
*/
public class OrderInfo implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer orderId;
private Integer userId;
private String orderDate;
private Double orderTotalPrice;
private Set detail = new HashSet();
/**
* @return the detail
*/
public Set getDetail() {
return detail;
}
/**
* @param detail
* the detail to set
*/
public void setDetail(Set detail) {
this.detail = detail;
}
/** default constructor */
public OrderInfo() {
}
/** minimal constructor */
public OrderInfo(Integer userId, String orderDate) {
this.userId = userId;
this.orderDate = orderDate;
}
/** full constructor */
public OrderInfo(Integer userId, String orderDate, Double orderTotalPrice) {
this.userId = userId;
this.orderDate = orderDate;
this.orderTotalPrice = orderTotalPrice;
}
// Property accessors
public Integer getOrderId() {
return this.orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getOrderDate() {
return this.orderDate;
}
public void setOrderDate(String orderDate) {
this.orderDate = orderDate;
}
public Double getOrderTotalPrice() {
return this.orderTotalPrice;
}
public void setOrderTotalPrice(Double orderTotalPrice) {
this.orderTotalPrice = orderTotalPrice;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?