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

📄 item.java

📁 网上商店。提供网上销售
💻 JAVA
字号:
package ydh.item;
// default package

import java.util.Date;

import ydh.product.Product;
import ydh.user.User;


/**
 * Item generated by MyEclipse Persistence Tools
 */

public class Item extends org.apache.struts.action.ActionForm implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Date createtime;
     private Float totalprice;
     private Date expirytime;
     private Integer quantity;
     private String status;
     private Product product;
     private User user;


    // Constructors

    public Product getProduct() {
		return product;
	}


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


	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}


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

    
    /** full constructor */
    public Item(Date createtime, Float totalprice, Date expirytime, Integer quantity, String status) {
        this.createtime = createtime;
        this.totalprice = totalprice;
        this.expirytime = expirytime;
        this.quantity = quantity;
        this.status = status;
 
    }

   
    // Property accessors

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

    public Date getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Float getTotalprice() {
        return this.totalprice;
    }
    
    public void setTotalprice(Float totalprice) {
        this.totalprice = totalprice;
    }

    public Date getExpirytime() {
        return this.expirytime;
    }
    
    public void setExpirytime(Date expirytime) {
        this.expirytime = expirytime;
    }

    public Integer getQuantity() {
        return this.quantity;
    }
    
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

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


   








}

⌨️ 快捷键说明

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