package com.android.app_base.utils.rxbus; /** * @author Ljj * @date 2023.05.19. 13:37 * @desc */ public class MessageEvent { public static final int EVENT_INFO_UPDATE = 1; public static final int EVENT_TOURISM_CONSUME_CHANGE = 2; public static final int EVENT_REFRESH_DATA = 3; public static final int EVENT_UPDATE_USER_INFO = 4; private int messageEventCode; private Object messageEventData; public MessageEvent() { } public MessageEvent(int messageEventCode) { this.messageEventCode = messageEventCode; } public MessageEvent(int messageEventCode, Object messageEventData) { this.messageEventCode = messageEventCode; this.messageEventData = messageEventData; } public int getMessageEventCode() { return messageEventCode; } public void setMessageEventCode(int messageEventCode) { this.messageEventCode = messageEventCode; } public Object getMessageEventData() { return messageEventData; } public void setMessageEventData(Object messageEventData) { this.messageEventData = messageEventData; } }