messagebean.java

来自「简单的流言板系统,用myeclipse进行编写的,采用简单的jstl+javab」· Java 代码 · 共 116 行

JAVA
116
字号
package me.work.beans;

public class MessageBean {
	public int msgID;
	public String msgDate;
	public String msgContent;
	public String msgTitle;
	public int msgReplies;
	public int userID;
	public String userName;

	/**
	 * @return the msgID
	 */
	public int getMsgID() {
		return msgID;
	}

	/**
	 * @param msgID
	 *            the msgID to set
	 */
	public void setMsgID(int msgID) {
		this.msgID = msgID;
	}

	/**
	 * @return the msgDate
	 */
	public String getMsgDate() {
		return msgDate;
	}

	/**
	 * @param msgDate
	 *            the msgDate to set
	 */
	public void setMsgDate(String msgDate) {
		this.msgDate = msgDate;
	}

	/**
	 * @return the msgContent
	 */
	public String getMsgContent() {
		return msgContent;
	}

	/**
	 * @param msgContent
	 *            the msgContent to set
	 */
	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	/**
	 * @return the msgTitle
	 */
	public String getMsgTitle() {
		return msgTitle;
	}

	/**
	 * @param msgTitle
	 *            the msgTitle to set
	 */
	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}

	/**
	 * @return the userID
	 */
	public int getUserID() {
		return userID;
	}

	/**
	 * @param userID
	 *            the userID to set
	 */
	public void setUserID(int userID) {
		this.userID = userID;
	}

	/**
	 * @return the msgReplies
	 */
	public int getMsgReplies() {
		return msgReplies;
	}

	/**
	 * @param msgReplies
	 *            the msgReplies to set
	 */
	public void setMsgReplies(int msgReplies) {
		this.msgReplies = msgReplies;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
}

⌨️ 快捷键说明

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