📄 f0c43c9b9e27001d1166d0283e82af3e
字号:
/**
*
*/
package com.qrsx.qrsxcrm.model;
import java.util.HashSet;
import java.util.Set;
/**
* 用户实体对象
* @author Administrator
*
*/
public class User
{
private String id; //主键
private String userName; //用户姓名
private String password; //用户密码
private Employee employee;//用户所对应的职工
private Role role; //用户角色
private Set dailys=new HashSet(); //关联个人计划
private Set companyTasks=new HashSet(); //关联公司任务
private Set announcements=new HashSet(); //关联公司公告
/**
* @return the employee
*/
public Employee getEmployee() {
return employee;
}
/**
* @param employee the employee to set
*/
public void setEmployee(Employee employee) {
this.employee = employee;
}
/**
* @return the id
*/
public String getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(String id) {
this.id = id;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return the role
*/
public Role getRole() {
return role;
}
/**
* @param role the role to set
*/
public void setRole(Role role) {
this.role = role;
}
/**
* @return the userName
*/
public String getUserName() {
return userName;
}
/**
* @param userName the userName to set
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* @return the announcements
*/
public Set getAnnouncements() {
return announcements;
}
/**
* @param announcements the announcements to set
*/
public void setAnnouncements(Set announcements) {
this.announcements = announcements;
}
/**
* @return the companyTasks
*/
public Set getCompanyTasks() {
return companyTasks;
}
/**
* @param companyTasks the companyTasks to set
*/
public void setCompanyTasks(Set companyTasks) {
this.companyTasks = companyTasks;
}
/**
* @return the dailys
*/
public Set getDailys() {
return dailys;
}
/**
* @param dailys the dailys to set
*/
public void setDailys(Set dailys) {
this.dailys = dailys;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -