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

📄 bbs.java

📁 要实现功能有:发帖
💻 JAVA
字号:
package bean;
/**
 * 数据库中的bbs表
 * */
import java.sql.*;
public class Bbs {
	
	private int bid;
	
	private String btitle;
	
	private String author;
	
	private Timestamp bdate;
	
	public Bbs() {}

	public Bbs(int bid, String btitle, String author, Timestamp bdate) {
		this.bid = bid;
		this.btitle = btitle;
		this.author = author;
		this.bdate = bdate;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Timestamp getBdate() {
		return bdate;
	}

	public void setBdate(Timestamp bdate) {
		this.bdate = bdate;
	}

	public int getBid() {
		return bid;
	}

	public void setBid(int bid) {
		this.bid = bid;
	}

	public String getBtitle() {
		return btitle;
	}

	public void setBtitle(String btitle) {
		this.btitle = btitle;
	}
}

⌨️ 快捷键说明

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