📄 orderinfo.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -