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

📄 product.java

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

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


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

public class Product  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String model;
     private Float price;
     private String type;
     private String remark;
     private Date makedate;
     private Set productDepots = new HashSet(0);
     private Set productItems = new HashSet(0);
     private Set productturnItems = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Product(String name, Float price) {
        this.name = name;
        this.price = price;
    }
    
    /** full constructor */
    public Product(String name, String model, Float price, String type, String remark, Date makedate, Set productDepots, Set productItems, Set productturnItems) {
        this.name = name;
        this.model = model;
        this.price = price;
        this.type = type;
        this.remark = remark;
        this.makedate = makedate;
        this.productDepots = productDepots;
        this.productItems = productItems;
        this.productturnItems = productturnItems;
    }

   
    // Property accessors

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

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

    public String getModel() {
        return this.model;
    }
    
    public void setModel(String model) {
        this.model = model;
    }

    public Float getPrice() {
        return this.price;
    }
    
    public void setPrice(Float price) {
        this.price = price;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getMakedate() {
        return this.makedate;
    }
    
    public void setMakedate(Date makedate) {
        this.makedate = makedate;
    }

    public Set getProductDepots() {
        return this.productDepots;
    }
    
    public void setProductDepots(Set productDepots) {
        this.productDepots = productDepots;
    }

    public Set getProductItems() {
        return this.productItems;
    }
    
    public void setProductItems(Set productItems) {
        this.productItems = productItems;
    }

    public Set getProductturnItems() {
        return this.productturnItems;
    }
    
    public void setProductturnItems(Set productturnItems) {
        this.productturnItems = productturnItems;
    }
   








}

⌨️ 快捷键说明

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