📄 vote.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 + -