diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JcmcysEnum.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JcmcysEnum.java new file mode 100644 index 0000000..1bf04c7 --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JcmcysEnum.java @@ -0,0 +1,61 @@ +package com.hxhq.business.enums.zykgl; + +/** + * 稽查名称颜色:1:蓝色;3:红色;5:绿色;7:橙色 + * @author tanfei + */ +public enum JcmcysEnum { + + /** + * 蓝色 + */ + wsd(1, "蓝色"), + + /** + * 红色 + */ + ysd(3, "红色"), + + /** + * 绿色 + */ + dgd(5, "绿色"), + + /** + * 橙色 + */ + gd(7, "橙色"); + + private int value; + private String text; + + JcmcysEnum(int value, String text) { + this.value = value; + this.text = text; + } + + public int getValue() { + return value; + } + + public void setValue(int value) { + this.value = value; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public static JcmcysEnum getEnumByValue(int type) { + for (JcmcysEnum bt : values()) { + if (bt.value == type) { + return bt; + } + } + return null; + } +} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JlztEnum.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JlztEnum.java new file mode 100644 index 0000000..af64b9d --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JlztEnum.java @@ -0,0 +1,66 @@ +package com.hxhq.business.enums.zykgl; + +/** + * 记录状态 1:未锁定 3:已锁定 5:待归档 7:归档 9:待解档 + * @author tanfei + */ +public enum JlztEnum { + + /** + * 未锁定 + */ + wsd(1, "未锁定"), + + /** + * 已锁定 + */ + ysd(3, "已锁定"), + + /** + * 待归档 + */ + dgd(5, "待归档"), + + /** + * 归档 + */ + gd(7, "归档"), + + /** + * 待解档 + */ + djd(9, "待解档"); + + private int value; + private String text; + + JlztEnum(int value, String text) { + this.value = value; + this.text = text; + } + + public int getValue() { + return value; + } + + public void setValue(int value) { + this.value = value; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public static JlztEnum getEnumByValue(int type) { + for (JlztEnum bt : values()) { + if (bt.value == type) { + return bt; + } + } + return null; + } +} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JyztEnum.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JyztEnum.java new file mode 100644 index 0000000..06f9327 --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JyztEnum.java @@ -0,0 +1,56 @@ +package com.hxhq.business.enums.zykgl; + +/** + * 借阅状态 1:未借阅 3:待借阅 5:借阅中 + * @author tanfei + */ +public enum JyztEnum { + + /** + * 未借阅 + */ + wjy(1, "未借阅"), + + /** + * 待借阅 + */ + djy(3, "待借阅"), + + /** + * 借阅中 + */ + jyz(5, "借阅中"); + + private int value; + private String text; + + JyztEnum(int value, String text) { + this.value = value; + this.text = text; + } + + public int getValue() { + return value; + } + + public void setValue(int value) { + this.value = value; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public static JyztEnum getEnumByValue(int type) { + for (JyztEnum bt : values()) { + if (bt.value == type) { + return bt; + } + } + return null; + } +} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/ZjztEnum.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/ZjztEnum.java new file mode 100644 index 0000000..90f4762 --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/ZjztEnum.java @@ -0,0 +1,71 @@ +package com.hxhq.business.enums.zykgl; + +/** + * 制剂状态:1:入库;3:已发放;5:已锁定;7:待归档;9:归档;11:待解档 + * @author tanfei + */ +public enum ZjztEnum { + + /** + * 入库 + */ + rk(1, "入库"), + + /** + * 已发放 + */ + yff(3, "已发放"), + + /** + * 已锁定 + */ + ysd(5, "已锁定"), + + /** + * 待归档 + */ + dgd(7, "待归档"), + + /** + * 归档 + */ + gd(9, "归档"), + + /** + * 待解档 + */ + djd(11, "待解档"); + + private int value; + private String text; + + ZjztEnum(int value, String text) { + this.value = value; + this.text = text; + } + + public int getValue() { + return value; + } + + public void setValue(int value) { + this.value = value; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public static ZjztEnum getEnumByValue(int type) { + for (ZjztEnum bt : values()) { + if (bt.value == type) { + return bt; + } + } + return null; + } +}