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

📄 article.java

📁 一个基于ext的ajax小例子
💻 JAVA
字号:
/**
 * 
 */
package com.myext.model;

/**
 * @author Administrator
 *
 */
public class Article {

	private int id;
	private String title;
	private String content;
	private Author author;

	
	
	/**
	 * 构造函数
	 */
	public Article(int id,String title, String content, Author author) {
		this.id = id;
		this.author = author;
		this.title = title;
		this.content = content;
	}

	/**
	 * get title
	 * @return the title
	 */
	public String getTitle() {
		return this.title;
	}

	/**
	 * set title
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * get content
	 * @return the content
	 */
	public String getContent() {
		return this.content;
	}

	/**
	 * set content
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * get author
	 * @return the author
	 */
	public Author getAuthor() {
		return this.author;
	}

	/**
	 * set author
	 * @param author the author to set
	 */
	public void setAuthor(Author author) {
		this.author = author;
	}

	/**
	 * get id
	 * @return the id
	 */
	public int getId() {
		return this.id;
	}

	/**
	 * set id
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

}

⌨️ 快捷键说明

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