| | |
| | | |
| | | } |
| | | |
| | | public enum ApplyCollectStatus { |
| | | DSP(0, "待审批"), |
| | | DCD(1, "待出单"), |
| | | BZZ(2, "保障中"), |
| | | YGQ(3, "已过期"), |
| | | YTH(4, "已退回"), |
| | | THSQZ(5, "退回申请中"), |
| | | YGB(6, "已关闭"), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private int key; |
| | | |
| | | // 构造方法 |
| | | ApplyCollectStatus(int key, String name) { |
| | | this.name = name; |
| | | this.key = key; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (ApplyCollectStatus c : ApplyCollectStatus.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | // get set 方法 |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public int getKey() { |
| | | return key; |
| | | } |
| | | |
| | | public void setKey(int key) { |
| | | this.key = key; |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | public enum ApplyLogType { |
| | | UPLOAD(0, "提交投保","提交意见:${param}"), |