package com.weather.modules.sys.enums;

/**
 * 通知来源类型
 */
public enum AlertSourceTypeEnum {
    MANUAL("manual", "手动发布"),
    IMPORT("import", "导入任务"),
    SCHEDULE("schedule", "定时任务"),
    DATASOURCE("datasource", "数据源监测");

    private final String value;
    private final String label;

    AlertSourceTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }
}
