newstype.java

来自「自己写的学校网站框架」· Java 代码 · 共 73 行

JAVA
73
字号
package edu.xjusoft.hibernate.ORM;

import java.util.HashSet;
import java.util.Set;

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

public class Newstype implements java.io.Serializable {

	// Fields

	private Long typeId;
	private String typename;
	private String typedesc;
	private Set newses = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Newstype(String typename) {
		this.typename = typename;
	}

	/** full constructor */
	public Newstype(String typename, String typedesc, Set newses) {
		this.typename = typename;
		this.typedesc = typedesc;
		this.newses = newses;
	}

	// Property accessors

	public Long getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	public String getTypename() {
		return this.typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getTypedesc() {
		return this.typedesc;
	}

	public void setTypedesc(String typedesc) {
		this.typedesc = typedesc;
	}

	public Set getNewses() {
		return this.newses;
	}

	public void setNewses(Set newses) {
		this.newses = newses;
	}

}

⌨️ 快捷键说明

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