package com.medier.insur.utils;
/**
* @author: Yz
* @Description:
* @create: 2023-06-15
**/
public enum MedicalInsuranceFileEnum {
Finish(0,"无记录/完成"),//步骤
Download(1,"下载"),//步骤
Uploading(2,"上传"),//步骤
Be_Put_In_Storage(3,"入库"),//步骤
TEMP_FILE(1,"src\\main\\temp\\"),//临时文件夹目录
Exception(-1,"异常、失败"),//文件状态
Downloading(1,"正在下载"), //文件状态
DICT_SAVE(0,"save"),//新增
DICT_UPDATE(1,"update"),//更新
DICT_RESET(2,"reset"),//重置
VER_NAME(1,"V1.0"),//默认版本
MAX_PROGRESS(1,"最大进度"),
STOCKPILE_COUNT(1000,"每次入库数量");
private int code;
private String displayName;
private MedicalInsuranceFileEnum(int code,String displayName){
this.code=code;
this.displayName=displayName;
}
public int code(){
return this.code;
}
public String displayName(){
return displayName;
}
}
枚举类如何编写。
最新推荐文章于 2024-10-31 15:56:11 发布