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

📄 newsinfo.java~7~

📁 c++通信编程学习1
💻 JAVA~7~
字号:
package com.j2ee.func.news;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class NewsInfo {
    public NewsInfo() {
    }
    private int id;
    private String title;
    private String type;
    private String newsdate;
    private int seecount;
    private String comefrom;
    private String author;
    private String nclass;


    public void setId(int id){
        this.id=id;
    }
    public void setTitle(String title){
        this.title=title;
    }
    public void setType(String type){
        this.type=type;
    }
    public void setNewsdate(String newsdate){
        this.newsdate=newsdate;
    }
    public void setSeecount(int seecount){
        this.seecount=seecount;
    }
    public void setComefrom(String comefrom){
        this.comefrom=comefrom;
    }
    public void setAuthor(String author){
        this.author=author;
    }
    public void setNclass(String nclass){
        this.nclass=nclass;
    }
    public int getId(){
        return this.id;
    }
    public String getTitle(){
        return this.title;
    }
    public String getType(){
        return this.type;
    }
    public String getNewsdate(){
        return this.newsdate;
    }
    public int  getSeecount(){
        return this.seecount;
    }
    public String getComefrom(){
        return this.comefrom;
    }
    public String getAuthor(){
        return this.author;
    }
    public String getNclass(){
        return this.nclass;
    }
}

⌨️ 快捷键说明

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