对比新文件 |
| | |
| | | package com.gk.firework.Domain.Utils; |
| | | |
| | | import com.gk.firework.Domain.Enum.MsgContentType; |
| | | import com.gk.firework.Domain.Enum.MsgType; |
| | | |
| | | public class Message { |
| | | |
| | | private String type; |
| | | |
| | | private String message; |
| | | |
| | | private String contentType; |
| | | |
| | | //是否市监管部门 |
| | | private Boolean supervision; |
| | | |
| | | |
| | | public Message(MsgType type, MsgContentType contentType, Boolean supervision) { |
| | | this.contentType = contentType.getCode(); |
| | | this.type = type.getCode(); |
| | | this.supervision = supervision; |
| | | } |
| | | |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | |
| | | public String getMessage() { |
| | | return message; |
| | | } |
| | | |
| | | public void setMessage(String message) { |
| | | this.message = message; |
| | | } |
| | | |
| | | public Boolean getSupervision() { |
| | | return supervision; |
| | | } |
| | | |
| | | public void setSupervision(Boolean supervision) { |
| | | this.supervision = supervision; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getContentType() { |
| | | return contentType; |
| | | } |
| | | |
| | | public void setContentType(String contentType) { |
| | | this.contentType = contentType; |
| | | } |
| | | } |