📄 person.java
字号:
package com.jsfabc.jsh.model.bo;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Person generated by MyEclipse - Hibernate Tools
*/
public class Person implements java.io.Serializable {
// Fields
private String personId;
private Department department;
private String password;
private String personName;
private String email;
private String telephone;
private Set requisitions = new HashSet(0);
private Set personRoles = new HashSet(0);
private List departments;
private List permissions;
// Constructors
/** default constructor */
public Person() {
}
/** minimal constructor */
public Person(Department department, String password, String personName, String email) {
this.department = department;
this.password = password;
this.personName = personName;
this.email = email;
}
/** full constructor */
public Person(Department department, String password, String personName, String email, String telephone, Set requisitions, Set personRoles) {
this.department = department;
this.password = password;
this.personName = personName;
this.email = email;
this.telephone = telephone;
this.requisitions = requisitions;
this.personRoles = personRoles;
}
// Property accessors
public String getPersonId() {
return this.personId;
}
public void setPersonId(String personId) {
this.personId = personId;
}
public Department getDepartment() {
return this.department;
}
public void setDepartment(Department department) {
this.department = department;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getPersonName() {
return this.personName;
}
public void setPersonName(String personName) {
this.personName = personName;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getTelephone() {
return this.telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public Set getRequisitions() {
return this.requisitions;
}
public void setRequisitions(Set requisitions) {
this.requisitions = requisitions;
}
public Set getPersonRoles() {
return this.personRoles;
}
public void setPersonRoles(Set personRoles) {
this.personRoles = personRoles;
}
public List getDepartments() { return departments;}
public void setDepartments(List newValue) {
this.departments=newValue;
}
//属性:permissions
public List getPermissions() { return permissions;}
public void setPermissions(List newValue){this.permissions=newValue;}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -