news.java
来自「用户能添加 查看 新闻内容 并能够修改新闻内容~」· Java 代码 · 共 44 行
JAVA
44 行
package news.form;
import java.sql.Date;
import org.apache.struts.action.ActionForm;
public class News extends ActionForm{
private String title;
private String author;
private String content;
private Date pubtime;
private int id;
public String getTitle(){
return this.title;
}
public void setTitle(String s){
this.title=s;
}
public String getAuthor(){
return this.author;
}
public void setAuthor(String s){
this.author=s;
}
public String getContent(){
return this.content;
}
public void setContent(String s){
this.content=s;
}
public Date getPubtime(){
return this.pubtime;
}
public void setPubtime(Date s){
this.pubtime=s;
}
public int getId(){
return this.id;
}
public void setId(int s){
this.id=s;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?