?? 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 + -