comment.java

来自「Ajax评论系统(结合Prototype+Freemarker分页)」· Java 代码 · 共 74 行

JAVA
74
字号
package ajax.web.po;

import java.io.Serializable;

/**
 * 评论模型
 * 
 * @author  陈智聪(<a href="mailto:bugie@163.com">bugie@163.com</a>)
 * @version 2.0 - 2009/02/10
 */
public class Comment implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private int id;
	private String nickname;
	private String content;
	private String postTime;
	private String clientIP;
	
	public Comment() {
		
	}

	public Comment(int id, String nickname, String content, String postTime,
			String clientIP) {
		super();
		this.id = id;
		this.nickname = nickname;
		this.content = content;
		this.postTime = postTime;
		this.clientIP = clientIP;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPostTime() {
		return postTime;
	}

	public void setPostTime(String postTime) {
		this.postTime = postTime;
	}

	public String getClientIP() {
		return clientIP;
	}

	public void setClientIP(String clientIP) {
		this.clientIP = clientIP;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?