package com.yeejoin.amos.boot.module.ugp.api.Enum;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

@Getter
@AllArgsConstructor
public enum ProBlemProcessEnum {
    流程开始("流程开始","1"),
    确定问题("确定问题","2"),
    重大问题发送短信("重大问题发送短信","3"),
    编制处理方案("编制处理方案","4"),
    审查处理方案("审查处理方案","5"),
    提交整改书("提交整改书","6"),
    审查整改过程("审查整改过程","7"),
    超期整改发送短信("超期整改发送短信","8"),
    问题分类("问题分类","9"),
    转人工("转人工","10"),
    结束("结束","11");

    private String Name;
    private String Code;

    public static Map<String,String> map = new HashMap<>();

    static {
        for (ProBlemProcessEnum proBlemProcessEnum : ProBlemProcessEnum.values()) {
            map.put(proBlemProcessEnum.getCode(),proBlemProcessEnum.getName());
        }
    }
}
