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 WeldCodeEnum {
    //焊口编码赋码状态
    未赋值("未赋值","0"),
    已赋值("已赋值","1");
    /**
     * 焊口编码赋码方式
     */



    private String name;
    private String state;



    public static final Map<String,String> map=new HashMap<>();
    static{
        for (WeldCodeEnum weldCodeEnum:WeldCodeEnum.values()){
            map.put(weldCodeEnum.getState(),weldCodeEnum.getName());
        }
    }


}
