📄 voteitem.java
字号:
package com.laoer.bbscs.bean;
import java.io.Serializable;import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class VoteItem implements Serializable {
/** identifier field */
private Long id;
/** persistent field */
private long voteID;
/** persistent field */
private String item;
/** nullable persistent field */
private int itemValue;
/** full constructor */
public VoteItem(long voteID, String item, int itemValue) {
this.voteID = voteID;
this.item = item;
this.itemValue = itemValue;
}
/** default constructor */
public VoteItem() {
}
/** minimal constructor */
public VoteItem(long voteID, String item) {
this.voteID = voteID;
this.item = item;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public long getVoteID() {
return this.voteID;
}
public void setVoteID(long voteID) {
this.voteID = voteID;
}
public String getItem() {
return this.item;
}
public void setItem(String item) {
this.item = item;
}
public int getItemValue() {
return this.itemValue;
}
public void setItemValue(int itemValue) {
this.itemValue = itemValue;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -