news.java

来自「在strust框架下开发的信息发布。主要用于短信群发。」· Java 代码 · 共 86 行

JAVA
86
字号
package com.gd.po;

import java.util.Date;

/**
 * News generated by MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private long id;
	private String head;
	private String content;
	private Date issuedate;
	private String issueuser;
	private long newstype;

	// Constructors

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

	/** full constructor */
	public News(String head, String content, Date issuedate, String issueuser,
			long newstype) {
		this.head = head;
		this.content = content;
		this.issuedate = issuedate;
		this.issueuser = issueuser;
		this.newstype = newstype;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getHead() {
		return this.head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getIssuedate() {
		return this.issuedate;
	}

	public void setIssuedate(Date issuedate) {
		this.issuedate = issuedate;
	}

	public String getIssueuser() {
		return this.issueuser;
	}

	public void setIssueuser(String issueuser) {
		this.issueuser = issueuser;
	}

	public long getNewstype() {
		return this.newstype;
	}

	public void setNewstype(long newstype) {
		this.newstype = newstype;
	}

}

⌨️ 快捷键说明

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