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

📄 topic.java

📁 用JSP+hibernate做的一个MVC的论坛,结构清晰,可扩展性强,适合二次开发!
💻 JAVA
字号:
package org.hibernate.forum;

import java.util.*;

public class Topic{
	private Long     CategoryID;
	private Long     id;

	private String  TopicMsg;
	private String  TopicAuthor;

    public Topic() {
	}

    public Topic(Long nTID, Long nCID) {
		id 		     = nTID;
		CategoryID   = nCID;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long nID) {
		this.id = nID;
	}


	public Long getCategoryID() {
		return this.CategoryID;
	}

	public String getTopicMsg() {
		return this.TopicMsg;
	}

	public String getTopicAuthor() {
		return this.TopicAuthor;
	}

	public void setCategoryID(Long nID) {
		this.CategoryID = nID;
	}

	public void setTopicMsg(String string) {
		this.TopicMsg = string;
	}

	public void setTopicAuthor(String string) {
		this.TopicAuthor = string;
	}
}

⌨️ 快捷键说明

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