newsbean.java

来自「新闻发布 能够简单的发布新闻 可以上穿图片 可以在后台发布 在前台显示」· Java 代码 · 共 70 行

JAVA
70
字号
package javabean;

import java.sql.Date;

public class newsBean {
    private int bigID;
    private int smallID;
    private String newsTitle;
    private String newsBody;
    private String newsAuthor;
    private String newsFrom;
    private Date newsTime;
    public int getBigID() {
        return bigID;
    }

    public int getSmallID() {
        return smallID;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public String getNewsBody() {
        return newsBody;
    }

    public String getNewsAuthor() {
        return newsAuthor;
    }

    public String getNewsFrom() {
        return newsFrom;
    }

    public Date getNewsTime() {
        return newsTime;
    }

    public void setBigID(int bigID) {
        this.bigID = bigID;
    }

    public void setSmallID(int smallID) {
        this.smallID = smallID;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public void setNewsBody(String newsBody) {
        this.newsBody = newsBody;
    }

    public void setNewsAuthor(String newsAuthor) {
        this.newsAuthor = newsAuthor;
    }

    public void setNewsFrom(String newsFrom) {
        this.newsFrom = newsFrom;
    }

    public void setNewsTime(Date newsTime) {
        this.newsTime = newsTime;
    }

}

⌨️ 快捷键说明

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