package jnpf.enums.attendance.v2;

public enum FuncCodingEnum {



    NEWTYPESETTING("NewTypesetting", "web-排班"),
    ATTENDANCESCHEDUL("AttendanceSchedul", "app-考勤排班"),
    SETUPSCHEDUL("setUpSchedul", "app-设置排班"),
    WORKFORCEMANAGE("WorkforceManage", "app-排班管理"),
    ;

    private final String value;

    private final String description;

    FuncCodingEnum(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public static FuncCodingEnum getMachineEnum(String value) {

        FuncCodingEnum[] values = FuncCodingEnum.values();
        for (FuncCodingEnum v : values) {
            if (v.getValue().equals(value)) {
                return v;
            }
        }
        return null;
    }

    public String getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }


}
