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

📄 cartitem.java

📁 用JBuilder+Jboos+mysql实现的EJB项目
💻 JAVA
字号:
package com.jdon.estore.model;

import com.jdon.controller.model.Model;

public class CartItem implements Model {

  private String itemId;
  private String productId;
  private String name;
  private int qty;
  private float listprice;

  public CartItem(){

  }


  public CartItem(String itemId, String productId, String name,
                  int quantity, float listprice) {

    this.itemId = itemId;
    this.productId = productId;
    this.name = name;
    this.qty = quantity;
    this.listprice = listprice;
  }

  public String getItemId() {
    return itemId;
  }

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


  public String getProductId() {
    return productId;
  }

  public void setProductId(String productId) {
    this.productId = productId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getQty() {
    return qty;
  }

  public void setQty(int qty) {
    this.qty = qty;
  }

  public float getListprice() {
    return listprice;
  }

  public void setListprice(float listprice) {
    this.listprice = listprice;
  }

}

⌨️ 快捷键说明

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