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

📄 note.java

📁 《Web程序测试实训教程(Java版)》-徐民鹰-源代码
💻 JAVA
字号:
package apply;

public class Note {
	private int nid;
	private String title=null;
    private String  content= null;
    private String  postdate= null;
    private String  filepath= null;
    
    public Note (int id, String tt, String ct, String pd, String fp)
    {
        this.nid = id;
        this.title = tt;
        this.content=ct;
        this.postdate=pd;
        this.filepath=fp;
    }

    public int getId ()
    {
        return this.nid;
    }
    public void setId(int id)
    {
        this.nid=id;	
    }
    
    public String getTitle ()
    {
        return this.title;
    }
    public void setTitle(String te)
    {
        this.title=te;	
    }
    
    public String getContent ()
    {
        return this.content;
    }
    public void setContent(String ct)
    {
        this.content=ct;	
    }
    
    public String getDate ()
    {
        return this.postdate;
    }
    public void setDate(String dt)
    {
        this.postdate=dt;	
    }
    
    public String getPath ()
    {
        return this.filepath;
    }
    public void setPath(String fp)
    {
        this.filepath=fp;	
    }
}

⌨️ 快捷键说明

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