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

📄 news.java

📁 用户能添加 查看 新闻内容 并能够修改新闻内容~
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -