vote.java

来自「一个网上购物商城系统」· Java 代码 · 共 77 行

JAVA
77
字号
package tarena.entity;

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

/**
 * Vote generated by MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
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 + =
减小字号Ctrl + -
显示快捷键?