⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lineitem.java

📁 采用最新Struts2+Hibernate架构开发
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -