美文网首页
常量定义

常量定义

作者: wyymaomi | 来源:发表于2019-11-14 11:04 被阅读0次
        public static String EXECUTE_PREPARE="0";
        public static String EXECUTE_DONE="1";
        public static String EXECUTE_FAILED="-1";
        
        public static Map<String, String> EXECUTE_MAP=new LinkedHashMap<String, String>();
        static{
            EXECUTE_MAP.put(EXECUTE_PREPARE, "待执行");
            EXECUTE_MAP.put(EXECUTE_DONE, "已执行");
            EXECUTE_MAP.put(EXECUTE_FAILED, "未执行");
        }
    
        /**
         * 护照通行证证件分类 护照
         */
        public static final String CREDENTIALS_TYPE_PASSPORT="1";
        
        /**
         * 护照通行证证件分类  港澳通行证
         */
        public static final String CREDENTIALS_TYPE_HMPERMIT="2";
        
        /**
         * 护照通行证证件分类 台湾通行证
         */
        public static final String CREDENTIALS_TYPE_TWPERMIT="3";
        
        public static final EnumEntity CREDENTIALS_PASSPORT=new EnumEntity(CREDENTIALS_TYPE_PASSPORT,"护照");
        public static final EnumEntity CREDENTIALS_HMPERMIT=new EnumEntity(CREDENTIALS_TYPE_HMPERMIT,"港澳通行证");
        public static final EnumEntity CREDENTIALS_TWPERMIT=new EnumEntity(CREDENTIALS_TYPE_TWPERMIT,"台湾通行证");
        
        /**
         * 证照类型  护照及通行证
         */
        public static ArrayList<EnumEntity> CREDENTIALS_TYPE_IHM=new ArrayList<EnumEntity>();
        static{
            CREDENTIALS_TYPE_IHM.add(CREDENTIALS_PASSPORT);
            CREDENTIALS_TYPE_IHM.add(CREDENTIALS_HMPERMIT);
        }
    

    相关文章

      网友评论

          本文标题:常量定义

          本文链接:https://www.haomeiwen.com/subject/yrzlictx.html