From 279ec2d1fec1888bc0c7dbab7ea5216071de473c Mon Sep 17 00:00:00 2001 From: "wei.peng" <123456> Date: Fri, 24 Apr 2020 11:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=88=E6=9D=83=E5=8A=A0=E5=AF=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/model/common/ImppMessage.java | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/common/ImppMessage.java diff --git a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/common/ImppMessage.java b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/common/ImppMessage.java new file mode 100644 index 0000000..d6ed87b --- /dev/null +++ b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/common/ImppMessage.java @@ -0,0 +1,38 @@ +package cn.estsh.i3plus.pojo.model.common; + +import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil; +import io.swagger.annotations.ApiParam; +import lombok.Data; + +import java.io.Serializable; + +/** + * @Description : + * @Reference : + * @Author : wei.peng + * @CreateDate : 20-4-22 下午7:46 + * @Modify: + **/ +@Data +public class ImppMessage implements Serializable { + + private static final long serialVersionUID = 6840525365653629445L; + @ApiParam(value ="产品") + private Integer softType; + + @ApiParam(value ="消息组") + private Integer messageGroup; + + @ApiParam(value ="消息内容") + private String messageParam; + + public String getSoftTypeTxt() { + return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOfDescription(softType); + } + + public CommonEnumUtil.SOFT_TYPE getSoftTypeEnum() { + return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOf(softType); + } + + +}