news.java

来自「简单的一个新闻系统。j2ee开发的。对大家学习有帮助。」· Java 代码 · 共 58 行

JAVA
58
字号
package com.org.hibernate.vo;
import java.io.Serializable;
public class News  implements Serializable{
	
	protected String id;
	protected String title;
	protected String content;
	protected String author;
	protected String time;
	protected String keyword;
	protected Integer    type;
	public News(){	  }
	public News(String nid){
		 super();
	}
	public void setId(String id){
		this.id=id;
	}
	public String getId() {
		return id;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
}

⌨️ 快捷键说明

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