📄 employeeinfo.java
字号:
package com.hb.base.view.domain;
import com.hb.base.domain.common.Person;
import com.hb.core.bean.BaseBean;
import com.hb.core.util.DateUtil;
/**
* 2008/02/15
*
* @author 何 貝
*
* 页面用员工信息
*/
public class EmployeeInfo extends BaseBean {
/***/
private static final long serialVersionUID = -5445404512485037548L;
/** 员工编号 */
private String employeeID;
/** 员工名称 */
private String employeeName;
/** 年龄 */
private String employeeAge;
/** 性别 */
private String employeeSex;
/** 所属部门 */
private String departmentName;
/** 担任职位 */
private String jobName;
/** 合同开始日期 */
private String employmentStartDate;
/** 合同结束日期 */
private String employmentEndDate;
public EmployeeInfo() {
}
public String getEmployeeID() {
return employeeID;
}
public void setEmployeeID(String employeeID) {
this.employeeID = employeeID;
}
public String getEmployeeName() {
return employeeName;
}
public void setEmployeeName(String employeeName) {
this.employeeName = employeeName;
}
public String getEmployeeAge() {
return employeeAge;
}
public void setEmployeeAge(String employeeAge) {
this.employeeAge = employeeAge;
}
public String getEmployeeSex() {
return employeeSex;
}
public void setEmployeeSex(Integer employeeSex) {
if (employeeSex.equals(Person.FEMALE)) {
this.employeeSex = Person.FEMALE_STR;
} else {
this.employeeSex = Person.MALE_STR;
}
}
public String getDepartmentName() {
return departmentName;
}
public void setDepartmentName(String departmentName) {
this.departmentName = departmentName;
}
public String getJobName() {
return jobName;
}
public void setJobName(String jobName) {
this.jobName = jobName;
}
public String getEmploymentStartDate() {
return employmentStartDate;
}
public void setEmploymentStartDate(String employmentStartDate) {
if (employmentStartDate != null && !employmentStartDate.equals("")) {
this.employmentStartDate = DateUtil.dateStrToDateStr(
employmentStartDate, DateUtil.YYYY_MM_DD_PATTERN_1,
DateUtil.YYYY_MM_DD_PATTERN_3);
} else {
this.employmentStartDate = "";
}
}
public String getEmploymentEndDate() {
return employmentEndDate;
}
public void setEmploymentEndDate(String employmentEndDate) {
if (employmentEndDate != null && !employmentEndDate.equals("")) {
this.employmentEndDate = DateUtil.dateStrToDateStr(
employmentEndDate, DateUtil.YYYY_MM_DD_PATTERN_1,
DateUtil.YYYY_MM_DD_PATTERN_3);
} else {
this.employmentEndDate = "";
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -