📄 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();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -