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

📄 vote.java

📁 基于struts+hibernate的电子商务网站。可运行。数据库mysql
💻 JAVA
字号:
package tarena.entity;

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

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

public class Vote implements java.io.Serializable {

	// Fields

	private Integer id;
	private Byte multiselect;
	private Date endtime;
	private Set voteoptions = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Vote(Byte multiselect, Date endtime) {
		this.multiselect = multiselect;
		this.endtime = endtime;
	}

	/** full constructor */
	public Vote(Byte multiselect, Date endtime, Set voteoptions) {
		this.multiselect = multiselect;
		this.endtime = endtime;
		this.voteoptions = voteoptions;
	}

	// Property accessors

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

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

	public Byte getMultiselect() {
		return this.multiselect;
	}

	public void setMultiselect(Byte multiselect) {
		this.multiselect = multiselect;
	}

	public Date getEndtime() {
		return this.endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Set getVoteoptions() {
		return this.voteoptions;
	}

	public void setVoteoptions(Set voteoptions) {
		this.voteoptions = voteoptions;
	}

}

⌨️ 快捷键说明

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