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

📄 forumtopicreply.java

📁 struts+hibernate BBS mysql数据库 功能基本齐全
💻 JAVA
字号:
package com.elan.forum.model;

import java.sql.Timestamp;

/**
 * Forumtopicreply entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Forumtopicreply implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer channeId;
	private Integer pieceId;
	private Integer topicId;
	//private Integer authorId;
	private String author;
	private Timestamp replyTime;
	private Timestamp modifyTime;
	private String uploadfiles;
	private String replyTo;
	private String ip;
	private Byte locked;
	private String text;
	private String icon;
	
	//对象 关联
	
	private ForumUser forumUser;

	// Constructors

	public ForumUser getForumUser() {
		return forumUser;
	}

	public void setForumUser(ForumUser forumUser) {
		this.forumUser = forumUser;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	/** default constructor */
	public Forumtopicreply() {
	}

	/** full constructor */
	public Forumtopicreply(Integer channeId, Integer pieceId, Integer topicId,
			ForumUser forumUser, String author, Timestamp replyTime, Timestamp modifyTime,
			String uploadfiles, String replyTo, String ip, Byte locked,
			String text, String icon) {
		this.channeId = channeId;
		this.pieceId = pieceId;
		this.topicId = topicId;
		//this.authorId = authorId;
		this.author = author;
		this.replyTime = replyTime;
		this.modifyTime = modifyTime;
		this.uploadfiles = uploadfiles;
		this.replyTo = replyTo;
		this.ip = ip;
		this.locked = locked;
		this.text = text;
		this.icon = icon;
		
		this.forumUser = forumUser;
	}

	// Property accessors

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

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

	public Integer getChanneId() {
		return this.channeId;
	}

	public void setChanneId(Integer channeId) {
		this.channeId = channeId;
	}

	public Integer getPieceId() {
		return this.pieceId;
	}

	public void setPieceId(Integer pieceId) {
		this.pieceId = pieceId;
	}

	public Integer getTopicId() {
		return this.topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

/*	public Integer getAuthorId() {
		return this.authorId;
	}

	public void setAuthorId(Integer authorId) {
		this.authorId = authorId;
	}*/

	public String getAuthor() {
		return this.author;
	}

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

	public Timestamp getReplyTime() {
		return this.replyTime;
	}

	public void setReplyTime(Timestamp replyTime) {
		this.replyTime = replyTime;
	}

	public Timestamp getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Timestamp modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getUploadfiles() {
		return this.uploadfiles;
	}

	public void setUploadfiles(String uploadfiles) {
		this.uploadfiles = uploadfiles;
	}

	public String getReplyTo() {
		return this.replyTo;
	}

	public void setReplyTo(String replyTo) {
		this.replyTo = replyTo;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Byte getLocked() {
		return this.locked;
	}

	public void setLocked(Byte locked) {
		this.locked = locked;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

}

⌨️ 快捷键说明

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