lineitem.java
来自「采用最新Struts2+Hibernate架构开发」· Java 代码 · 共 82 行
JAVA
82 行
package org.itfuture.www.po;
/**
* Lineitem generated by MyEclipse - Hibernate Tools
*/
public class Lineitem implements java.io.Serializable {
// Fields
private LineitemId id;
private Item item;
private Long quantity;
private Double listprice;
// Constructors
/** default constructor */
public Lineitem() {
}
/** minimal constructor */
public Lineitem(Long quantity, Double listprice) {
this.quantity = quantity;
this.listprice = listprice;
}
/** full constructor */
public Lineitem(Item item, Long quantity, Double listprice) {
this.item = item;
this.quantity = quantity;
this.listprice = listprice;
}
// Property accessors
public Lineitem(LineitemId id, Item item, Long quantity, Double listprice) {
super();
this.id = id;
this.item = item;
this.quantity = quantity;
this.listprice = listprice;
}
public LineitemId getId() {
return this.id;
}
public void setId(LineitemId id) {
this.id = id;
}
public Item getItem() {
return this.item;
}
public void setItem(Item item) {
this.item = item;
}
public Long getQuantity() {
return this.quantity;
}
public void setQuantity(Long quantity) {
this.quantity = quantity;
}
public Double getListprice() {
return listprice;
}
public void setListprice(Double listprice) {
this.listprice = listprice;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?