| | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.index.Indexed; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.yeshi.utils.StringUtil; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | public class AppPageNotifyMsg { |
| | | |
| | | public enum AppPageNotifyMsgType { |
| | | mine("我的"); |
| | | |
| | | private String name; |
| | | |
| | | private AppPageNotifyMsgType(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | return system.name() + "-" + type.name(); |
| | | } |
| | | |
| | | public String toMD5() { |
| | | return StringUtil.Md5(type.name() + "#" + content + "#" + contentUrl); |
| | | } |
| | | |
| | | |
| | | public String getId() { |
| | | return id; |