From 888ee9dc4bfbca1df8bcef53e9d51ea7ecfcd44a Mon Sep 17 00:00:00 2001 From: wzq Date: Wed, 27 Sep 2023 22:14:43 +0800 Subject: [PATCH] fixed "default constructor not found." --- .../im/custom/bean/NotifyH5Info.java | 16 ++++++++++++++++ .../im/custom/bean/NotifyH5Info.kt | 12 ------------ 2 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.java delete mode 100644 core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.kt diff --git a/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.java b/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.java new file mode 100644 index 000000000..51d934682 --- /dev/null +++ b/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.java @@ -0,0 +1,16 @@ +package com.yizhuan.xchat_android_core.im.custom.bean; + +import lombok.Data; + +@Data +public class NotifyH5Info { + + private int roomUid; + + /** + * 飘屏类型 0 房间静态飘屏 1 全服动态飘屏 + */ + private int floatingType; + + private String content; +} diff --git a/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.kt b/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.kt deleted file mode 100644 index af032cc4a..000000000 --- a/core/src/main/java/com/yizhuan/xchat_android_core/im/custom/bean/NotifyH5Info.kt +++ /dev/null @@ -1,12 +0,0 @@ -package com.yizhuan.xchat_android_core.im.custom.bean - -class NotifyH5Info ( - val roomUid: Int? = 0, - - /** - * 飘屏类型 0 房间静态飘屏 1 全服动态飘屏 - */ - val floatingType: Int? = 0, - - val content: String? = "", -) \ No newline at end of file