From f65443d8abeaedc9d102324565e8368e7c9d90c8 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:41:54 +0800 Subject: [PATCH] commit --- src/main/java/com/gk/firework/Domain/Enum/MsgType.java | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/Enum/MsgType.java b/src/main/java/com/gk/firework/Domain/Enum/MsgType.java new file mode 100644 index 0000000..781d203 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/Enum/MsgType.java @@ -0,0 +1,37 @@ +package com.gk.firework.Domain.Enum; + +import com.baomidou.mybatisplus.core.enums.IEnum; +import com.fasterxml.jackson.annotation.JsonValue; + +import java.io.Serializable; + +public enum MsgType{ + NOTIFICATION("notify","通知"), + ALERT("alert","消息提示"), + MESSAGE("message","通知"); + + + MsgType(String code, String type) { + this.code = code; + this.type = type; + } + + private String code; + private String type; + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} -- Gitblit v1.9.2