常量定义
2019-11-14 本文已影响0人
wyymaomi
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);
}