newstb.java

来自「一个新闻发布系统」· Java 代码 · 共 184 行

JAVA
184
字号
package com.accp.t29.hibernate.pojo;

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


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

public class NewsTb  implements java.io.Serializable {


    // Fields    

     private long id;
     private ResourceTb resourceTb;
     private AttachmentTb attachmentTb;
     private String newstitle;
     private String newssubhead;
     private String newscontent;
     private String authorname;
     private long count;
     private Date releasetime;
     private long ispircture;
     private long ischeck;
     private long isrelease;
     private String remark;
     private Set reviewTbs = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public NewsTb(String newstitle) {
        this.newstitle = newstitle;
    }
    
    /** full constructor */
    public NewsTb(ResourceTb resourceTb, AttachmentTb attachmentTb, String newstitle, String newssubhead, String newscontent, String authorname, long count, Date releasetime, long ispircture, long ischeck, long isrelease, String remark, Set reviewTbs) {
        this.resourceTb = resourceTb;
        this.attachmentTb = attachmentTb;
        this.newstitle = newstitle;
        this.newssubhead = newssubhead;
        this.newscontent = newscontent;
        this.authorname = authorname;
        this.count = count;
        this.releasetime = releasetime;
        this.ispircture = ispircture;
        this.ischeck = ischeck;
        this.isrelease = isrelease;
        this.remark = remark;
        this.reviewTbs = reviewTbs;
    }

   
    // Property accessors

    public long getId() {
        return this.id;
    }
    
    public void setId(long id) {
        this.id = id;
    }

    public ResourceTb getResourceTb() {
        return this.resourceTb;
    }
    
    public void setResourceTb(ResourceTb resourceTb) {
        this.resourceTb = resourceTb;
    }

    public AttachmentTb getAttachmentTb() {
        return this.attachmentTb;
    }
    
    public void setAttachmentTb(AttachmentTb attachmentTb) {
        this.attachmentTb = attachmentTb;
    }

    public String getNewstitle() {
        return this.newstitle;
    }
    
    public void setNewstitle(String newstitle) {
        this.newstitle = newstitle;
    }

    public String getNewssubhead() {
        return this.newssubhead;
    }
    
    public void setNewssubhead(String newssubhead) {
        this.newssubhead = newssubhead;
    }

    public String getNewscontent() {
        return this.newscontent;
    }
    
    public void setNewscontent(String newscontent) {
        this.newscontent = newscontent;
    }

    public String getAuthorname() {
        return this.authorname;
    }
    
    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    public long getCount() {
        return this.count;
    }
    
    public void setCount(long count) {
        this.count = count;
    }

    public Date getReleasetime() {
        return this.releasetime;
    }
    
    public void setReleasetime(Date releasetime) {
        this.releasetime = releasetime;
    }

    public long getIspircture() {
        return this.ispircture;
    }
    
    public void setIspircture(long ispircture) {
        this.ispircture = ispircture;
    }

    public long getIscheck() {
        return this.ischeck;
    }
    
    public void setIscheck(long ischeck) {
        this.ischeck = ischeck;
    }

    public long getIsrelease() {
        return this.isrelease;
    }
    
    public void setIsrelease(long isrelease) {
        this.isrelease = isrelease;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Set getReviewTbs() {
        return this.reviewTbs;
    }
    
    public void setReviewTbs(Set reviewTbs) {
        this.reviewTbs = reviewTbs;
    }
   








}

⌨️ 快捷键说明

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