package jnpf.enums.attendance;

import lombok.Getter;

/**
 * 配置的key
 *
 * @author yanwenfu
 * @create 2025-09-19
 */
@Getter
public enum SettingGroup {

    /** 常用手机 */
    USUAL_PHONE("usual_phone"),
    ;

    private final String value;

    SettingGroup(String value) {
        this.value = value;
    }

    public static SettingGroup getSettingKey(String value) {

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