note.java

来自「MVC模式下的JSP留言板代码。」· Java 代码 · 共 43 行

JAVA
43
字号
package cn.mldn.lxh.note.vo ;

public class Note
{
	private int id ;
	private String title ;
	private String author ;
	private String content ;

	public void setId(int id)
	{
		this.id = id ;
	}
	public void setTitle(String title)
	{
		this.title = title ;
	}
	public void setAuthor(String author)
	{
		this.author = author ;
	}
	public void setContent(String content)
	{
		this.content = content ;
	}

	public int getId()
	{
		return this.id ;
	}
	public String getTitle()
	{
		return this.title ;
	}
	public String getAuthor()
	{
		return this.author ;
	}
	public String getContent()
	{
		return this.content ;
	}
};

⌨️ 快捷键说明

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