forumpiece.java

来自「struts+hibernate BBS mysql数据库 功能基本齐全」· Java 代码 · 共 117 行

JAVA
117
字号
package com.elan.forum.model;

import java.util.Date;

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

public class Forumpiece implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Date createTime;
	private Integer masterId;
	private String masterName;
	private String description;
	private String icon;
	private Integer moduleId;
	private Boolean isNewTopic;

	// Constructors

	public Boolean getIsNewTopic() {
		return isNewTopic;
	}

	public void setIsNewTopic(Boolean isNewTopic) {
		this.isNewTopic = isNewTopic;
	}

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

	/** full constructor */
	public Forumpiece(String name, Date createTime, Integer masterId,
			String masterName, String description, String icon, Integer moduleId) {
		this.name = name;
		this.createTime = createTime;
		this.masterId = masterId;
		this.masterName = masterName;
		this.description = description;
		this.icon = icon;
		this.moduleId = moduleId;
	}

	// Property accessors

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

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

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getMasterId() {
		return this.masterId;
	}

	public void setMasterId(Integer masterId) {
		this.masterId = masterId;
	}

	public String getMasterName() {
		return this.masterName;
	}

	public void setMasterName(String masterName) {
		this.masterName = masterName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIcon() {
		return this.icon;
	}

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

	public Integer getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
	}

}

⌨️ 快捷键说明

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