?? vote.java
字號:
package com.laoer.bbscs.bean;
import java.io.Serializable;import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class Vote implements Serializable {
/** identifier field */
private Long id;
/** persistent field */
private String title;
/** nullable persistent field */
private short isM;
/** nullable persistent field */
private long deadLine;
/** full constructor */
public Vote(String title, short isM, long deadLine) {
this.title = title;
this.isM = isM;
this.deadLine = deadLine;
}
/** default constructor */
public Vote() {
}
/** minimal constructor */
public Vote(String title) {
this.title = title;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public short getIsM() {
return this.isM;
}
public void setIsM(short isM) {
this.isM = isM;
}
public long getDeadLine() {
return this.deadLine;
}
public void setDeadLine(long deadLine) {
this.deadLine = deadLine;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -