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

📄 topic.java

📁 spring+hibernate+struts开发的校务oa系统
💻 JAVA
字号:
package com.yondor.oa.db.topic.dao;

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

import com.yondor.oa.db.bbsuser.dao.Bbsuser;
import com.yondor.oa.db.forum.dao.Forum;


/**
 * Topic generated by MyEclipse - Hibernate Tools
 */

public class Topic  implements java.io.Serializable {


    // Fields    

     private Long topicid;
     private Forum forum;
     private Bbsuser bbsuser;
     private String top;
     private Long contenttag;
     private String distillate;
     private Date sendtime;
     private String title;
     private String face;
     private String temp;
     private Set replytopics = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Topic(Forum forum, Bbsuser bbsuser, String temp) {
        this.forum = forum;
        this.bbsuser = bbsuser;
        this.temp = temp;
    }
    
    /** full constructor */
    public Topic(Forum forum, Bbsuser bbsuser, String top, Long contenttag, String distillate, Date sendtime, String title, String face, String temp, Set replytopics) {
        this.forum = forum;
        this.bbsuser = bbsuser;
        this.top = top;
        this.contenttag = contenttag;
        this.distillate = distillate;
        this.sendtime = sendtime;
        this.title = title;
        this.face = face;
        this.temp = temp;
        this.replytopics = replytopics;
    }

   
    // Property accessors

    public Long getTopicid() {
        return this.topicid;
    }
    
    public void setTopicid(Long topicid) {
        this.topicid = topicid;
    }

    public Forum getForum() {
        return this.forum;
    }
    
    public void setForum(Forum forum) {
        this.forum = forum;
    }

    public Bbsuser getBbsuser() {
        return this.bbsuser;
    }
    
    public void setBbsuser(Bbsuser bbsuser) {
        this.bbsuser = bbsuser;
    }

    public String getTop() {
        return this.top;
    }
    
    public void setTop(String top) {
        this.top = top;
    }

    public Long getContenttag() {
        return this.contenttag;
    }
    
    public void setContenttag(Long contenttag) {
        this.contenttag = contenttag;
    }

    public String getDistillate() {
        return this.distillate;
    }
    
    public void setDistillate(String distillate) {
        this.distillate = distillate;
    }

    public Date getSendtime() {
        return this.sendtime;
    }
    
    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getFace() {
        return this.face;
    }
    
    public void setFace(String face) {
        this.face = face;
    }

    public String getTemp() {
        return this.temp;
    }
    
    public void setTemp(String temp) {
        this.temp = temp;
    }

    public Set getReplytopics() {
        return this.replytopics;
    }
    
    public void setReplytopics(Set replytopics) {
        this.replytopics = replytopics;
    }
   








}

⌨️ 快捷键说明

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