📄 voteoption.java
字号:
package tarena.entity;
/**
* Voteoption entity.
*
* @author MyEclipse Persistence Tools
*/
public class Voteoption implements java.io.Serializable {
// Fields
private Integer id;
private Vote vote;
private String content;
private Integer ballot;
// Constructors
/** default constructor */
public Voteoption() {
}
/** full constructor */
public Voteoption(Vote vote, String content, Integer ballot) {
this.vote = vote;
this.content = content;
this.ballot = ballot;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Vote getVote() {
return this.vote;
}
public void setVote(Vote vote) {
this.vote = vote;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Integer getBallot() {
return this.ballot;
}
public void setBallot(Integer ballot) {
this.ballot = ballot;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -