📄 orderdetail.java
字号:
package com.longHua.domain;
/**
* Orderdetail entity.
*
* @author MyEclipse Persistence Tools
*/
public class OrderDetail implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = -3933077054386132345L;
private Integer id;
private Integer lineNum;
private Integer productId;
private String productName;
private Integer productCount;
private Float totalPrice;
private Orders order;
// Constructors
/** default constructor */
public OrderDetail() {
}
/** full constructor */
public OrderDetail(Integer orderId, Integer lineNum, Integer productId,
String productName, Integer productCount, Float totalPrice) {
this.lineNum = lineNum;
this.productId = productId;
this.productName = productName;
this.productCount = productCount;
this.totalPrice = totalPrice;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getLineNum() {
return this.lineNum;
}
public void setLineNum(Integer lineNum) {
this.lineNum = lineNum;
}
public Integer getProductId() {
return this.productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getProductName() {
return this.productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public Integer getProductCount() {
return this.productCount;
}
public void setProductCount(Integer productCount) {
this.productCount = productCount;
}
public Float getTotalPrice() {
return this.totalPrice;
}
public void setTotalPrice(Float totalPrice) {
this.totalPrice = totalPrice;
}
public Orders getOrder() {
return order;
}
public void setOrder(Orders order) {
this.order = order;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -