?? user.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 + -