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

📄 posting.java

📁 本人大学时大型作业用JAVA做的一个 BBS系统 模式MVC 非struts版 开发工具JCreator Pro 数据库SQL2
💻 JAVA
字号:
package domain;
import java.util.*;
public class Posting
{
	protected int id;	
	protected String content;
	protected String author;	
	protected Date time;
	public Posting()
	{
	}	
	public Posting(int id,String content,String author, Date time)
	{
		this.id=id;
		this.content=content;
		this.author=author;
		this.time=time;
	}
	public void setId(int id) 
	{
		this.id = id; 
	}
	public void setContent(String content) 
	{
		this.content = content; 
	}
	public void setAuthor(String author) 
	{
		this.author = author; 
	}
	public void setTime(Date time) 
	{
		this.time = time; 
	}
	public int getId() 
	{
		return (this.id); 
	}
	public String getContent() 
	{
		return (this.content); 
	}
	public String getAuthor() 
	{
		return (this.author); 
	}
	public Date getTime() 
	{
		return (this.time); 
	}
}

⌨️ 快捷键说明

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