📄 vote.java
字号:
package cn.hxex.vote.model;
import java.util.Set;
/**
* 投票类,表示一个投票
*
* @author galaxy
*
*/
public class Vote
{
/**
* 主键值
*/
private String id;
/**
* 英文标识
*/
private String name;
/**
* 投票的名称
*/
private String title;
/**
* 投票类型:单选还是多选
*/
private String votetype;
/**
* 图形的类型:无,柱状图,饼图等
*/
private String pictype;
/**
* 投票的选项
*/
private Set voteitems;
/**
* @return Returns the fullname.
*/
public String getTitle()
{
return title;
}
/**
* @param fullname The fullname to set.
*/
public void setTitle(String fullname)
{
this.title = fullname;
}
/**
* @return Returns the id.
*/
public String getId()
{
return id;
}
/**
* @param id The id to set.
*/
public void setId(String id)
{
this.id = id;
}
/**
* @return Returns the name.
*/
public String getName()
{
return name;
}
/**
* @param name The name to set.
*/
public void setName(String name)
{
this.name = name;
}
/**
* @return Returns the pictype.
*/
public String getPictype()
{
return pictype;
}
/**
* @param pictype The pictype to set.
*/
public void setPictype(String pictype)
{
this.pictype = pictype;
}
/**
* @return Returns the votetype.
*/
public String getVotetype()
{
return votetype;
}
/**
* @param votetype The votetype to set.
*/
public void setVotetype(String type)
{
this.votetype = type;
}
/**
* @return Returns the voteitems.
*/
public Set getVoteitems()
{
return voteitems;
}
/**
* @param voteitems The voteitems to set.
*/
public void setVoteitems(Set voteitems)
{
this.voteitems = voteitems;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -