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

📄 lineitem.java

📁 这是一个网上书店
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -