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

📄 message.java

📁 jsp+Struts1.2+Hibernate3.1+mysql
💻 JAVA
字号:
package bbs.struts.vo;

public class Message {
	private String id ;
	private String title ;
	private String content ;
	private String leaver ;
	private String time;
	private boolean own; 
	
	
	
	public Message(String id, String title, String content, String leaver,
			String time, boolean own) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.leaver = leaver;
		this.time = time;
		this.own = own;
	}
	public boolean isOwn() {
		return own;
	}
	public void setOwn(boolean own) {
		this.own = own;
	}
	public Message(String id, String title,String leaver, String content,  String time) {
		this.id = id;
		this.title = title;
		this.content = content;
		this.leaver = leaver;
		this.time = time;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getLeaver() {
		return leaver;
	}
	public void setLeaver(String leaver) {
		this.leaver = leaver;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
}

⌨️ 快捷键说明

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