productattention.java

来自「网上购物系统」· Java 代码 · 共 68 行

JAVA
68
字号
package tarena.entity;

import java.util.Date;

/**
 * Productattention entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Productattention implements java.io.Serializable {

	// Fields

	private Integer id;
	private Product product;
	private String sessionid;
	private Date attentiontime;

	// Constructors

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

	/** full constructor */
	public Productattention(Product product, String sessionid,
			Date attentiontime) {
		this.product = product;
		this.sessionid = sessionid;
		this.attentiontime = attentiontime;
	}

	// 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 String getSessionid() {
		return this.sessionid;
	}

	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}

	public Date getAttentiontime() {
		return this.attentiontime;
	}

	public void setAttentiontime(Date attentiontime) {
		this.attentiontime = attentiontime;
	}

}

⌨️ 快捷键说明

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