news.java

来自「j2ee,struts2 hibernate spring2.5的电影系统简单的」· Java 代码 · 共 78 行

JAVA
78
字号
package com.movie.dojo;

import java.util.Date;

/**
 * News entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private Integer newid;
	private String newsTitle;
	private String newsInfo;
	private Date newsTime;
	private Integer newsNum;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String newsTitle, String newsInfo, Date newsTime,
			Integer newsNum) {
		this.newsTitle = newsTitle;
		this.newsInfo = newsInfo;
		this.newsTime = newsTime;
		this.newsNum = newsNum;
	}

	// Property accessors

	public Integer getNewid() {
		return this.newid;
	}

	public void setNewid(Integer newid) {
		this.newid = newid;
	}

	public String getNewsTitle() {
		return this.newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsInfo() {
		return this.newsInfo;
	}

	public void setNewsInfo(String newsInfo) {
		this.newsInfo = newsInfo;
	}

	public Date getNewsTime() {
		return this.newsTime;
	}

	public void setNewsTime(Date newsTime) {
		this.newsTime = newsTime;
	}

	public Integer getNewsNum() {
		return this.newsNum;
	}

	public void setNewsNum(Integer newsNum) {
		this.newsNum = newsNum;
	}

}

⌨️ 快捷键说明

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