voteuser.java
来自「一个网站的开发 struts+spring+hibernate」· Java 代码 · 共 72 行
JAVA
72 行
package com.laoer.bbscs.bean;
import java.io.Serializable;import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class VoteUser implements Serializable {
/** identifier field */
private Long id;
/** persistent field */
private long voteID;
/** persistent field */
private long voteUserID;
/** persistent field */
private long voteTime;
/** full constructor */
public VoteUser(long voteID, long voteUserID, long voteTime) {
this.voteID = voteID;
this.voteUserID = voteUserID;
this.voteTime = voteTime;
}
/** default constructor */
public VoteUser() {
}
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 long getVoteUserID() {
return this.voteUserID;
}
public void setVoteUserID(long voteUserID) {
this.voteUserID = voteUserID;
}
public long getVoteTime() {
return this.voteTime;
}
public void setVoteTime(long voteTime) {
this.voteTime = voteTime;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?