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

📄 subject.java

📁 bbs论坛 采用java的Web开发strtus、hibernate
💻 JAVA
字号:
package com.wish.bbs.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

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

public class Subject implements java.io.Serializable {

	// Fields

	private String sid;
	private String name;
	private String description;
	private Date createdate;
	private String photo;
	private String status;
	private Set topics =null;
	private int topicsum;
	private int tcount;
	private Topic topic;

	// Constructors

	public Topic getTopic() {
		return topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}

	public int getTcount() {
		return tcount;
	}

	public void setTcount(int tcount) {
		this.tcount = tcount;
	}

	public int getTopicsum() {
		return topicsum;
	}

	public void setTopicsum(int topicsum) {
		this.topicsum = topicsum;
	}

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

	/** minimal constructor */
	public Subject(String name) {
		this.name = name;
	}

	/** full constructor */
	public Subject(String name, String description, Date createdate,
			String photo, String status, Set topics) {
		this.name = name;
		this.description = description;
		this.createdate = createdate;
		this.photo = photo;
		this.status = status;
		this.topics = topics;
	}

	// Property accessors

	public String getSid() {
		return this.sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

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

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

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

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

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getTopics() {
		return this.topics;
	}

	public void setTopics(Set topics) {
		this.topics = topics;
	}

	public Subject(String sid, String name, String description,
			Date createdate, String photo, String status) {
		super();
		this.sid = sid;
		this.name = name;
		this.description = description;
		this.createdate = createdate;
		this.photo = photo;
		this.status = status;
	}

}

⌨️ 快捷键说明

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