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

📄 newsbean.java

📁 用J2EE开发的网站,可以应用到图书馆,图书超市
💻 JAVA
字号:
package ksnb;
import java.util.*;
import java.sql.*;

public class NewsBean {
    private int id;
    private int typeid;
    private String topic;
    private String content;
    private String keywords;
    private int click;
    private String source;
    private String date;
    public NewsBean() {
        this.id=0;
        this.typeid = 0;
        this.topic = null;
        this.content = null;
        this.keywords = null;
        this.click = 0;
        this.source = null;
        this.date = null;
    }
    public void setId(int id) {
         this.id = id;
     }
    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

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

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

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public void setClick(int click) {
        this.click = click;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setDate(String date) {
        this.date = date;
    }
    public int getId() {
        return id;
    }

    public int getTypeid() {
        return typeid;
    }

    public String getTopic() {
        return topic;
    }

    public String getContent() {
        return content;
    }

    public String getKeywords() {
        return keywords;
    }

    public int getClick() {
        return click;
    }

    public String getSource() {
        return source;
    }

    public String getDate() {
        return date;
    }

}

⌨️ 快捷键说明

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