From 04fa70b5c61f927e4b5e3c85e9fe9e116d79102e Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 18 十一月 2025 17:09:10 +0800
Subject: [PATCH] 2025年11月18日17:09:03

---
 app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java |   83 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 81 insertions(+), 2 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java b/app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java
index 0be3817..0d86ad2 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java
@@ -13,11 +13,64 @@
     private String homeId;//鐢电珯id
     private String homeName;//鐢电珯鍚嶇О
     private String status;//UNTREATED:鏈鐞嗭紝PROCESSED:宸插鐞�
-    private Long createTime;//娑堟伅鏃堕棿(鎶ヨ鏃堕棿)
+    private Long createTime = 0L;//娑堟伅鏃堕棿(鎶ヨ鏃堕棿)
+
 
     private String deviceOidId;//璁惧oid id
     private String deviceOid;//璁惧oid
     private String deviceDesc;//璁惧澶囨敞
+
+    public String getPowerStationImage() {
+        return powerStationImage == null ? "" : powerStationImage;
+    }
+
+    public void setPowerStationImage(String powerStationImage) {
+        this.powerStationImage = powerStationImage;
+    }
+
+    public Long getUnreadCount() {
+        return unreadCount;
+    }
+
+    public void setUnreadCount(Long unreadCount) {
+        this.unreadCount = unreadCount;
+    }
+
+    private String powerStationImage;//鐢电珯鍥剧墖
+    private Long unreadCount = 0L;//鐢电珯鏈娑堟伅鏁�
+
+    public String getDescription() {
+        return description == null ? "" : description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public String getRemark() {
+        return remark == null ? "" : remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    public String getPlan() {
+        return plan == null ? "" : plan;
+    }
+
+    public void setPlan(String plan) {
+        this.plan = plan;
+    }
+
+    private String description;//浜嬩欢鍐呭
+    private String remark;//澶囨敞
+    private String plan;//澶勭悊鏂规
+
+
+    private String deviceType;//璁惧绫诲瀷(INV 锛� 閫嗗彉鍣�, BMS 锛� BMS鎺у埗鐩�, BATTERY 锛� 鐢垫睜鍗曞厓)
+    private String deviceTypeDesc;//璁惧绫诲瀷鎻忚堪
+
 
     private String typeDesc;//绫诲瀷鎻忚堪
     private String effectScope;//褰卞搷鑼冨洿 NO_EFFECT : 鏃犲奖鍝嶈寖鍥存姤璀�
@@ -26,9 +79,25 @@
     private String address;//璇︾粏鍦板潃
 
 
-    private boolean isRead;//鏄惁宸茬粡璇诲彇
+    private boolean isRead;//鏄惁宸茬粡璇诲彇(true=璇诲彇)
 
     private HouseInfoBean.Location location = new HouseInfoBean.Location();//鐢电珯鍦板潃
+
+    public String getDeviceType() {
+        return deviceType == null ? "" : deviceType;
+    }
+
+    public void setDeviceType(String deviceType) {
+        this.deviceType = deviceType;
+    }
+
+    public String getDeviceTypeDesc() {
+        return deviceTypeDesc == null ? "" : deviceTypeDesc;
+    }
+
+    public void setDeviceTypeDesc(String deviceTypeDesc) {
+        this.deviceTypeDesc = deviceTypeDesc;
+    }
 
     public String getDeviceOidId() {
         return deviceOidId == null ? "" : deviceOidId;
@@ -161,4 +230,14 @@
     }
 
 
+    /**
+     * 鐢电珯瀹屾暣鐨勫湴鍧�
+     *
+     * @return -
+     */
+    public String getLocationAddress() {
+        return location.getNationName() + ">" + location.getProvinceName() + ">" + location.getCityName() + ">" + address;
+    }
+
+
 }

--
Gitblit v1.8.0