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

📄 item.java

📁 这是一个网上书店
💻 JAVA
字号:
package com.ebookstore.dto;

public class Item extends BaseDTO {

  // Fields

  private Integer itemId;

  private Integer bookId;

  private Double  baseprice;

  private Double  discount;

  private Double  unitcost;

  private String  status;

  private String  attribute1;

  // Constructors

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

  /** full constructor */
  public Item(Integer bookId, Double baseprice, Double discount, Double unitcost, String status, String attribute1) {
    this.bookId = bookId;
    this.baseprice = baseprice;
    this.discount = discount;
    this.unitcost = unitcost;
    this.status = status;
    this.attribute1 = attribute1;
  }

  // Property accessors

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

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

  public Integer getBookId() {
    return this.bookId;
  }

  public void setBookId(Integer bookId) {
    this.bookId = bookId;
  }

  public Double getBaseprice() {
    return this.baseprice;
  }

  public void setBaseprice(Double baseprice) {
    this.baseprice = baseprice;
  }

  public Double getDiscount() {
    return this.discount;
  }

  public void setDiscount(Double discount) {
    this.discount = discount;
  }

  public Double getUnitcost() {
    return this.unitcost;
  }

  public void setUnitcost(Double unitcost) {
    this.unitcost = unitcost;
  }

  public String getStatus() {
    return this.status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getAttribute1() {
    return this.attribute1;
  }

  public void setAttribute1(String attribute1) {
    this.attribute1 = attribute1;
  }

}

⌨️ 快捷键说明

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