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

📄 product.java

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

import java.util.*;
import com.jdon.controller.model.Model;

public class Product implements Model {

  private String productId;
  private String catId;
  private String name;
  private byte[] image;
  private String description;
  private Collection items = new ArrayList();

  public Product(){
  }

  public Product(String productId, String name, String description){
    this.productId = productId;
    this.name = name;
    this.description = description;

  }


  public String getProductId() {
    return productId;
  }

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

  public String getCatId() {
    return catId;
  }

  public void setCatId(String catId) {
    this.catId = catId;
  }

  public String getName() {
    return name;
  }

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

  public void setImage(byte[] image) {
    this.image = image;
  }

  public byte[] getImage() {
    return image;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Collection getItems() {
    return items;
  }

  public void setItems(Collection items) {
    this.items = items;
  }

}

⌨️ 快捷键说明

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