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

📄 comment.java

📁 zk与jsp技术的整合。可以在jsp页面里面使用zk的组件。
💻 JAVA
字号:
/**
 * 
 */
package org.zkoss.jspdemo.bean;

import java.util.Calendar;

/**
 * @author ian
 *
 */
public class Comment {
	
	private String text;
	private int voteValue;
	private String userName;
	private Calendar postTime;
	
	public Calendar getPostTime() {
		return postTime;
	}
	public void setPostTime(Calendar postTime) {
		this.postTime = postTime;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getVoteValue() {
		return voteValue;
	}
	public void setVoteValue(int voteValue) {
		this.voteValue = voteValue;
	}
	
	
	public Comment(String text, int voteValue, String userName, Calendar postTime) {
		super();
		this.text = text;
		this.voteValue = voteValue;
		this.userName = userName;
		this.postTime = postTime;
	}

}

⌨️ 快捷键说明

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