newsinfo.java~4~
来自「c++通信编程学习1」· JAVA~4~ 代码 · 共 55 行
JAVA~4~
55 行
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;
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 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;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?