lineitem.java

来自「这是一个网上书店」· Java 代码 · 共 74 行

JAVA
74
字号
package com.ebookstore.dto;

public class Lineitem extends BaseDTO {

  // Fields

  private Integer lineitemId;

  private Integer orderId;

  private Integer itemId;

  private Integer quantity;

  private Double  unitprice;

  // Constructors

  /** default constructor */
  public Lineitem() {
  }

  /** full constructor */
  public Lineitem(Integer orderId, Integer itemId, Integer quantity, Double unitprice) {
    this.orderId = orderId;
    this.itemId = itemId;
    this.quantity = quantity;
    this.unitprice = unitprice;
  }

  // Property accessors

  public Integer getLineitemId() {
    return this.lineitemId;
  }

  public void setLineitemId(Integer lineitemId) {
    this.lineitemId = lineitemId;
  }

  public Integer getOrderId() {
    return this.orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }

  public Integer getItemId() {
    return this.itemId;
  }

  public void setItemId(Integer itemId) {
    this.itemId = itemId;
  }

  public Integer getQuantity() {
    return this.quantity;
  }

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

  public Double getUnitprice() {
    return this.unitprice;
  }

  public void setUnitprice(Double unitprice) {
    this.unitprice = unitprice;
  }

}

⌨️ 快捷键说明

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