abstractnewst.java

来自「struts+hibernate模式的在线信息发布系统」· Java 代码 · 共 103 行

JAVA
103
字号
package po.news;

import java.util.Date;


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

public abstract class AbstractNewst  implements java.io.Serializable {


    // Fields    

     private Integer newsId;
     private Integer columnId;
     private String title;
     private String content;
     private Date time;
     private String author;


    // Constructors

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

	/** minimal constructor */
    public AbstractNewst(Integer newsId) {
        this.newsId = newsId;
    }
    
    /** full constructor */
    public AbstractNewst(Integer newsId, Integer columnId, String title, String content, Date time, String author) {
        this.newsId = newsId;
        this.columnId = columnId;
        this.title = title;
        this.content = content;
        this.time = time;
        this.author = author;
    }

   
    // Property accessors

    public Integer getNewsId() {
        return this.newsId;
    }
    
    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getColumnId() {
        return this.columnId;
    }
    
    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

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

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

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








}

⌨️ 快捷键说明

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