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

📄 sort.java

📁 openblog是一个博客管理系统
💻 JAVA
字号:
package org.openblog.hibernate;

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

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

public class Sort implements java.io.Serializable {

	// Fields

	private Integer sortId;
	private String sortName;
	private Integer sortParent;
	private Set articles = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Sort(Integer sortId, String sortName, Integer sortParent) {
		this.sortId = sortId;
		this.sortName = sortName;
		this.sortParent = sortParent;
	}

	/** full constructor */
	public Sort(Integer sortId, String sortName, Integer sortParent,
			Set articles) {
		this.sortId = sortId;
		this.sortName = sortName;
		this.sortParent = sortParent;
		this.articles = articles;
	}

	// Property accessors

	public Integer getSortId() {
		return this.sortId;
	}

	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	public String getSortName() {
		return this.sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public Integer getSortParent() {
		return this.sortParent;
	}

	public void setSortParent(Integer sortParent) {
		this.sortParent = sortParent;
	}

	public Set getArticles() {
		return this.articles;
	}

	public void setArticles(Set articles) {
		this.articles = articles;
	}

}

⌨️ 快捷键说明

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