diff --git a/app/src/main/java/com/huanchengfly/tieba/api/models/FuckBaiduAPIBean.kt b/app/src/main/java/com/huanchengfly/tieba/api/models/FuckBaiduAPIBean.kt index 18930866..df30fb70 100644 --- a/app/src/main/java/com/huanchengfly/tieba/api/models/FuckBaiduAPIBean.kt +++ b/app/src/main/java/com/huanchengfly/tieba/api/models/FuckBaiduAPIBean.kt @@ -1,14 +1,6 @@ -package com.huanchengfly.tieba.api.models; +package com.huanchengfly.tieba.api.models -public class FuckBaiduAPIBean { - private int status; - private String message; - - public int getStatus() { - return status; - } - - public String getMessage() { - return message; - } -} +class FuckBaiduAPIBean { + var status: Int? = null + var message: String? = null +} \ No newline at end of file diff --git a/app/src/main/java/com/huanchengfly/tieba/api/models/MessageListBean.java b/app/src/main/java/com/huanchengfly/tieba/api/models/MessageListBean.kt similarity index 100% rename from app/src/main/java/com/huanchengfly/tieba/api/models/MessageListBean.java rename to app/src/main/java/com/huanchengfly/tieba/api/models/MessageListBean.kt