package jp.ac.kcska.questionsystem; /* Code Generator Information. * generator Version 1.0.0 release 2007/10/10 * generated Date Mon Jan 26 14:54:47 JST 2015 */ import java.io.Serializable; /** * RecordviewVo. * @author student * @version 1.0 * history * Symbol Date Person Note * [1] 2015/01/26 student Generated. */ public class RecordviewVo implements Serializable{ public static final String TABLE = "RECORDVIEW"; /** * id:int(10) */ private int id; /** * userid:int(10) */ private int userid; /** * username:text(65535) */ private String username; /** * categoryid:int(10) */ private int categoryid; /** * categoryname:text(65535) */ private String categoryname; /** * examid:int(10) */ private int examid; /** * examname:text(65535) */ private String examname; /** * date:timestamp(0) */ private java.sql.Timestamp date; /** * score:int(10) */ private int score; /** * Constractor */ public RecordviewVo(){} public int getId(){ return this.id; } public void setId(int id){ this.id = id; } public int getUserid(){ return this.userid; } public void setUserid(int userid){ this.userid = userid; } public String getUsername(){ return this.username; } public void setUsername(String username){ this.username = username; } public int getCategoryid(){ return this.categoryid; } public void setCategoryid(int categoryid){ this.categoryid = categoryid; } public String getCategoryname(){ return this.categoryname; } public void setCategoryname(String categoryname){ this.categoryname = categoryname; } public int getExamid(){ return this.examid; } public void setExamid(int examid){ this.examid = examid; } public String getExamname(){ return this.examname; } public void setExamname(String examname){ this.examname = examname; } public java.sql.Timestamp getDate(){ return this.date; } public void setDate(java.sql.Timestamp date){ this.date = date; } public int getScore(){ return this.score; } public void setScore(int score){ this.score = score; } public String toString(){ StringBuffer buffer = new StringBuffer(); buffer.append("[RecordviewVo:"); buffer.append(" id: "); buffer.append(id); buffer.append(" userid: "); buffer.append(userid); buffer.append(" username: "); buffer.append(username); buffer.append(" categoryid: "); buffer.append(categoryid); buffer.append(" categoryname: "); buffer.append(categoryname); buffer.append(" examid: "); buffer.append(examid); buffer.append(" examname: "); buffer.append(examname); buffer.append(" date: "); buffer.append(date); buffer.append(" score: "); buffer.append(score); buffer.append("]"); return buffer.toString(); } }