📄 user.java
字号:
/*
* @(#)Storage.java Aug 2, 2007
* Copyright 2007 ThinkJ organization, Inc. All rights reserved
*/
package com.qrsx.appcam.model;
public class User {
public static final String CURRENT_USER = "current_user";
private Integer id; // 主键
private String logonName; // 登陆名
private String password; // 密码
private Integer employeeId;// 用户对应的员工编号
private Employee employee=new Employee();
public User(){
}
/**
* @return the employee
*/
public Employee getEmployee() {
return employee;
}
/**
* @param employee the employee to set
*/
public void setEmployee(Employee employee) {
this.employee = employee;
}
/**
* @return the employeeId
*/
public Integer getEmployeeId() {
return employeeId;
}
/**
* @return the id
*/
public Integer getId() {
return id;
}
/**
* @return the loginName
*/
public String getLogonName() {
return logonName;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param employeeId the employeeId to set
*/
public void setEmployeeId(Integer employeeId) {
this.employeeId = employeeId;
}
/**
* @param id the id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* @param loginName the loginName to set
*/
public void setLogonName(String logonName) {
this.logonName = logonName;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -