|
|
|
@@ -4,11 +4,10 @@ package com.iformall.enums; |
|
|
|
* Created by luozukai |
|
|
|
* 流程key |
|
|
|
*/ |
|
|
|
public enum EnumFlowKey { |
|
|
|
|
|
|
|
CONTRACT("contract_flow", "合同审批流程"), |
|
|
|
BILL("end_bill_flow", "账单审批流程"), |
|
|
|
END_CONTRACT("end_contract_flow", "终止合同审批流程"), |
|
|
|
public enum EnumFlowKey{ |
|
|
|
CONTRACT(1, "contract_flow"), //合同审批 |
|
|
|
BILL(2, "end_bill_flow"),//账单审批 |
|
|
|
END_CONTRACT(3, "end_contract_flow")//终止合同审批 |
|
|
|
; |
|
|
|
|
|
|
|
public static EnumFlowKey getEnum(Integer code) { |
|
|
|
@@ -20,15 +19,15 @@ public enum EnumFlowKey { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
private String code; |
|
|
|
private Integer code; |
|
|
|
private String message; |
|
|
|
|
|
|
|
EnumFlowKey(String code, String message) { |
|
|
|
EnumFlowKey(Integer code, String message) { |
|
|
|
this.code = code; |
|
|
|
this.message = message; |
|
|
|
} |
|
|
|
|
|
|
|
public String getCode() { |
|
|
|
public Integer getCode() { |
|
|
|
return code; |
|
|
|
} |
|
|
|
|
|
|
|
|