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

📄 user.java

📁 基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰富
💻 JAVA
字号:
package com.yuanchung.sales.model.user;

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

import com.yuanchung.sales.model.Treeview;
import com.yuanchung.sales.model.businessOpportunity.BusinessOpportunityStageHistory;

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

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Treeview treeview;
	private String userName;
	private String password;
	private String familyName;
	private String position;
	private String email;
	private String phone;
	private String type;
	private Integer isDeptLead;
	private String inDate;
	private Integer deleteFlag;   //删除标识;by 张明强
	private Set<BusinessOpportunityStageHistory> boshList = new HashSet<BusinessOpportunityStageHistory>();  
	// Constructors

	/**
	 * @return the deleteFlag
	 */
	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	/**
	 * @param deleteFlag the deleteFlag to set
	 */
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

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

	/** minimal constructor */
	public User(String userName, String password, String familyName,
			String position, String email, String phone, String type) {
		this.userName = userName;
		this.password = password;
		this.familyName = familyName;
		this.position = position;
		this.email = email;
		this.phone = phone;
		this.type = type;
	}

	/** full constructor */
	public User(Treeview treeview, String userName, String password,
			String familyName, String position, String email, String phone,
			String type, Integer isDeptLead) {
		this.treeview = treeview;
		this.userName = userName;
		this.password = password;
		this.familyName = familyName;
		this.position = position;
		this.email = email;
		this.phone = phone;
		this.type = type;
		this.isDeptLead = isDeptLead;
	}

	// 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 getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFamilyName() {
		return this.familyName;
	}

	public void setFamilyName(String familyName) {
		this.familyName = familyName;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getIsDeptLead() {
		return this.isDeptLead;
	}

	public void setIsDeptLead(Integer isDeptLead) {
		this.isDeptLead = isDeptLead;
	}

	public String getInDate() {
		return inDate;
	}

	public void setInDate(String inDate) {
		this.inDate = inDate;
	}

	/**
	 * @return the boshList
	 */
	public Set<BusinessOpportunityStageHistory> getBoshList() {
		return boshList;
	}

	/**
	 * @param boshList the boshList to set
	 */
	public void setBoshList(Set<BusinessOpportunityStageHistory> boshList) {
		this.boshList = boshList;
	}




}

⌨️ 快捷键说明

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