1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  | package com.vincent.rsf.server.api.entity.enums; 
 |    
 |  /** 
 |   * @author Ryan 
 |   * @version 1.0 
 |   * @title MatnrDefectType 
 |   * @description 
 |   * @create 2025/4/12 09:34 
 |   */ 
 |  public enum MatnrDefectType { 
 |      //物料不良类型 
 |      MATNR_DEFECT_NORMAL("0", "正常"), 
 |      MATNR_DEFECT_FIX("1", "待返修"), 
 |      MATNR_DEFECT_SCRAP("2", "待报废"), 
 |      MATNR_DEFECT_DEGRADE("3", "待降级"), 
 |      MATNR_DEFECT_PENDING("4", "待定"), 
 |      ; 
 |    
 |      MatnrDefectType(String type, String desc) { 
 |          this.type = Short.parseShort(type); 
 |          this.val = desc; 
 |      } 
 |    
 |      public Short type; 
 |      public String val; 
 |  } 
 |  
  |