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

📄 productitem.java

📁 一个用Java语言实现的库存管理系统
💻 JAVA
字号:
package main.data.domain;

import java.util.HashSet;
import java.util.Set;


/**
 * ProductItem generated by MyEclipse - Hibernate Tools
 */

public class ProductItem  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Product product;
     private Integer number;
     private Set productItemDetails = new HashSet(0);
     private Set productCustomerItems = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public ProductItem(Product product, Integer number) {
        this.product = product;
        this.number = number;
    }
    
    /** full constructor */
    public ProductItem(Product product, Integer number, Set productItemDetails, Set productCustomerItems) {
        this.product = product;
        this.number = number;
        this.productItemDetails = productItemDetails;
        this.productCustomerItems = productCustomerItems;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Product getProduct() {
        return this.product;
    }
    
    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getNumber() {
        return this.number;
    }
    
    public void setNumber(Integer number) {
        this.number = number;
    }

    public Set getProductItemDetails() {
        return this.productItemDetails;
    }
    
    public void setProductItemDetails(Set productItemDetails) {
        this.productItemDetails = productItemDetails;
    }

    public Set getProductCustomerItems() {
        return this.productCustomerItems;
    }
    
    public void setProductCustomerItems(Set productCustomerItems) {
        this.productCustomerItems = productCustomerItems;
    }
   








}

⌨️ 快捷键说明

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