对比新文件 |
| | |
| | | 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; |
| | | } |
| | | } |