📄 user.java
字号:
/**
*
*/
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 String employeeId;
private String roleId;
private Role role; //用户角色
private String remark;//备注
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;
}
/**
* @return the remark
*/
public String getRemark() {
return remark;
}
/**
* @param remark the remark to set
*/
public void setRemark(String remark) {
this.remark = remark;
}
/**
* @return the employeeId
*/
public String getEmployeeId() {
return employeeId;
}
/**
* @param employeeId the employeeId to set
*/
public void setEmployeeId(String employeeId) {
this.employeeId = employeeId;
}
/**
* @return the roleId
*/
public String getRoleId() {
return roleId;
}
/**
* @param roleId the roleId to set
*/
public void setRoleId(String roleId) {
this.roleId = roleId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -