增加任务详情下载字段
parent
bdfa3f40a5
commit
b3b1f4aab7
@ -0,0 +1,34 @@
|
||||
package com.baiye.model.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author wujingtao
|
||||
* @date 2022/05/19
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ClueStageEnum {
|
||||
/**
|
||||
* 新线索
|
||||
*/
|
||||
NEW_CLUE(0, "新线索"),
|
||||
FOLLOWED(1, "待沟通"),
|
||||
INTENTION(3, "有意向"),
|
||||
ADD_WE_CHAT(3, "已加微信"),
|
||||
TO_INTENTION(4, "无意向"),
|
||||
;
|
||||
|
||||
private final Integer type;
|
||||
private final String value;
|
||||
|
||||
public static String findValue(Integer type) {
|
||||
for (ClueStageEnum clueStageEnum : ClueStageEnum.values()) {
|
||||
if (type.equals(clueStageEnum.type)) {
|
||||
return clueStageEnum.getValue();
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue