Browse Source

增加ValidEnum

lixing 4 years ago
parent
commit
0ec9d9e3af

+ 2 - 2
fm-common/src/main/java/com/persagy/fm/common/constant/enums/EnumValid.java

@@ -7,14 +7,14 @@ package com.persagy.fm.common.constant.enums;
  * @since: 2021/3/9 2:56 下午
  * @since: 2021/3/9 2:56 下午
  * @version: V1.0
  * @version: V1.0
  */
  */
-public enum EnumValid {
+public enum ValidEnum {
     FALSE(0, false),
     FALSE(0, false),
     TRUE(1, true);
     TRUE(1, true);
 
 
     private Integer type;
     private Integer type;
     private Boolean desc;
     private Boolean desc;
 
 
-    EnumValid(Integer type, Boolean desc) {
+    ValidEnum(Integer type, Boolean desc) {
         this.type = type;
         this.type = type;
         this.desc = desc;
         this.desc = desc;
     }
     }