Merge branch 'dev' into test

yun-zuoyi
allen.zhang 6 years ago
commit f6d70a2781

@ -124,7 +124,7 @@ public class AndonEnumUtil {
/** /**
* *
* =10 =20 =3040-50- * 10 = 20 = 30 = 40 = 50 = ,60 = 70 =
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ANDON_ACTION_FLAG{ public enum ANDON_ACTION_FLAG{
@ -293,4 +293,31 @@ public class AndonEnumUtil {
return description; return description;
} }
} }
/**
*
* 10-20-
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum NOTICE_WAYS{
SMS("10","短信"),
EMAIL("20","邮箱");
private String value;
private String description;
NOTICE_WAYS(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
}
} }

Loading…
Cancel
Save