package com.bonus.canteen.core.customer.constants;

public enum CustChronicEnum {
   HYPERURICEMIA(1, "高尿酸症"),
   HYPERGLYCEMIA(2, "高血糖"),
   HYPERTENSION(3, "高血压"),
   HYPERLIPIDEMIA(4, "高血脂"),
   DIABETES(5, "糖尿病"),
   ANEMIA(6, "贫血"),
   CORONARY_HEART_DISEASE(7, "冠心病"),
   ASTHMA(8, "哮喘"),
   IRREGULAR_MENSES(9, "月经不调"),
   ENDOCRINE_DISORDERS(10, "内分泌失调"),
   HYPERTHYROIDISM(11, "甲亢"),
   ALLERGY(12, "过敏症"),
   CIRRHOSIS(13, "肝硬化"),
   MYASTHENIA(14, "肌无力"),
   HYPOTHYROIDISM(15, "甲减"),
   DIARRHEA(16, "慢性腹泻"),
   NEPHRITIS(17, "肾炎"),
   EMPHYSEMA(18, "肺气肿"),
   PULMONARY_HEART(19, "肺心病"),
   FATTY_LIVER(20, "脂肪肝"),
   CYSTITIS(21, "膀胱炎"),
   GOUT(22, "痛风"),
   MYOCARDIAL_INFARCT(23, "心肌梗塞"),
   GALLSTONE(24, "胆结石"),
   GAASTRIC_ULCER(25, "胃溃疡"),
   MIGRAINE(26, "偏头痛"),
   CANCER(27, "癌症"),
   PARKINSON(28, "帕金森"),
   LUPUS_ERYTHEMATOSUS(29, "红斑狼疮");

   private final Integer key;
   private final String desc;

   private CustChronicEnum(Integer key, String desc) {
      this.key = key;
      this.desc = desc;
   }

   public static String getDesc(Integer key) {
      CustChronicEnum[] var1 = values();
      int var2 = var1.length;

      for(int var3 = 0; var3 < var2; ++var3) {
         CustChronicEnum temp = var1[var3];
         if (temp.getKey().equals(key)) {
            return temp.getDesc();
         }
      }

      return "";
   }

   public Integer getKey() {
      return this.key;
   }

   public String getDesc() {
      return this.desc;
   }

   // $FF: synthetic method
   private static CustChronicEnum[] $values() {
      return new CustChronicEnum[]{HYPERURICEMIA, HYPERGLYCEMIA, HYPERTENSION, HYPERLIPIDEMIA, DIABETES, ANEMIA, CORONARY_HEART_DISEASE, ASTHMA, IRREGULAR_MENSES, ENDOCRINE_DISORDERS, HYPERTHYROIDISM, ALLERGY, CIRRHOSIS, MYASTHENIA, HYPOTHYROIDISM, DIARRHEA, NEPHRITIS, EMPHYSEMA, PULMONARY_HEART, FATTY_LIVER, CYSTITIS, GOUT, MYOCARDIAL_INFARCT, GALLSTONE, GAASTRIC_ULCER, MIGRAINE, CANCER, PARKINSON, LUPUS_ERYTHEMATOSUS};
   }
}
