orderitem.java

来自「一个基于java工厂模式的 的实现」· Java 代码 · 共 80 行

JAVA
80
字号
/*
 * OrderItem.java
 *
 * Created on 2007年4月24日, 上午9:27
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.ebuy.entities;

/**
 *
 * @author Administrator
 */
public class OrderItem
{
    
    private int orderid;
    private int productid;
    private double realprice;
    private int quantity;
    private String productname;
    
    public OrderItem()
    {
    }

    public int getOrderid()
    {
        return orderid;
    }

    public void setOrderid(int orderid)
    {
        this.orderid = orderid;
    }

    public int getProductid()
    {
        return productid;
    }

    public void setProductid(int productid)
    {
        this.productid = productid;
    }

    public double getRealprice()
    {
        return realprice;
    }

    public void setRealprice(double realprice)
    {
        this.realprice = realprice;
    }

    public int getQuantity()
    {
        return quantity;
    }

    public void setQuantity(int quantity)
    {
        this.quantity = quantity;
    }

    public String getProductname()
    {
        return productname;
    }

    public void setProductname(String productname)
    {
        this.productname = productname;
    }
    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?