tjnewsinfo.java~2~

来自「c++通信编程学习1」· JAVA~2~ 代码 · 共 38 行

JAVA~2~
38
字号
package com.j2ee.func.news;

public class TjnewsInfo {
    public TjnewsInfo() {

    }
        private int id;
        private int newsid;//新闻id
        private String newstitle;//
        private String newsdate;
        public void setId(int id){
        this.id=id;
        }
        public void setNewsid(int newsid){
        this.newsid=newsid;
        }
        public void setNewstitle(String newstitle){
            this.newstitle=newstitle;
        }
        public void setNewsdate(String newsdate){
            this.newsdate=newsdate;
        }
        public int getId(){
            return this.id;
        }
        public int getNewsid(){
            return this.newsid;
        }
        public String getNewstitle(){
            return this.newstitle;
        }
        public String getNewsdate(){
            return this.newsdate;
        }


}

⌨️ 快捷键说明

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