⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comment.java

📁 Ajax评论系统(结合Prototype+Freemarker分页)
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -