position.java

来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 67 行

JAVA
67
字号
package com.yuanchung.sales.model;

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

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

public class Position implements java.io.Serializable {

	// Fields

	private Integer id;
	private Treeview treeview;
	private String positionName;
	private Set userPositions = new HashSet(0);

	// Constructors

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

	/** full constructor */
	public Position(Treeview treeview, String positionName) {
		this.treeview = treeview;
		this.positionName = positionName;
	}

	// Property accessors

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

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

	public Treeview getTreeview() {
		return this.treeview;
	}

	public void setTreeview(Treeview treeview) {
		this.treeview = treeview;
	}

	public String getPositionName() {
		return this.positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public Set getUserPositions() {
		return this.userPositions;
	}

	public void setUserPositions(Set userPositions) {
		this.userPositions = userPositions;
	}

}

⌨️ 快捷键说明

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