package com.foen.hr.utils; /** * 员工状态 * @author: gzh * @date: 2020年12月26日下午5:20:58 */ public enum UserEmpnoStatusEnum { STATUS0("0","在职人员"), STATUS1("1","试用人员"), STATUS2("2","工伤人员"), STATUS3("3","长假人员"), STATUS4("4","离职人员"), STATUS5("5","黑名单"); String statusCode; String statusName; UserEmpnoStatusEnum(String statusCode, String statusName){ this.statusCode=statusCode; this.statusName=statusName; } public String getEmpnoStatusCode(String statusName){ for(UserEmpnoStatusEnum.){ } } public String getStatusCode() { return statusCode; } public void setStatusCode(String statusCode) { this.statusCode = statusCode; } public String getStatusName() { return statusName; } public void setStatusName(String statusName) { this.statusName = statusName; } }
package com.foen.hr.utils;
/**
* 员工状态
* @author: gzh
* @date: 2020年12月26日下午5:20:58
*/
public enum UserEmpnoStatusEnum {
STATUS0("0","在职人员"),
STATUS1("1","试用人员"),
STATUS2("2","工伤人员"),
STATUS3("3","长假人员"),
STATUS4("4","离职人员"),
STATUS5("5","黑名单");
String statusCode;
String statusName;
UserEmpnoStatusEnum(String statusCode, String statusName){
this.statusCode=statusCode;
this.statusName=statusName;
}
public String getEmpnoStatusCode(String statusName){
for(UserEmpnoStatusEnum.){
}
}
public String getStatusCode() {
return statusCode;
}
public void setStatusCode(String statusCode) {
this.statusCode = statusCode;
}
public String getStatusName() {
return statusName;
}
public void setStatusName(String statusName) {
this.statusName = statusName;
}
}