From c660f059d4e07a1b784442a1bbb4a5109b82e837 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 25 六月 2024 09:51:45 +0800
Subject: [PATCH] Merge branch 'dev' of http://172.16.1.23:6688/r/~wjc/HDLPhotovoltaicDebugAPP into dev

---
 app/src/main/java/com/hdl/photovoltaic/ui/bean/MemberBean.java |  232 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 232 insertions(+), 0 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/bean/MemberBean.java b/app/src/main/java/com/hdl/photovoltaic/ui/bean/MemberBean.java
new file mode 100644
index 0000000..2b8fb04
--- /dev/null
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/bean/MemberBean.java
@@ -0,0 +1,232 @@
+package com.hdl.photovoltaic.ui.bean;
+
+import android.text.TextUtils;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * 鎴愬憳鐨勫疄浣�
+ */
+public class MemberBean implements Serializable {
+
+
+    private String id;//涓婚敭
+    private String childAccountType;//瀛愯处鎴风被鍨�(ORDINARY 锛氭櫘閫氭垚鍛�,DEBUG 锛� 璋冭瘯浜哄憳,ADMIN 锛� 绠$悊鍛�,VIEW : 浠呮煡鐪�)
+
+    private String childAccountId;//瀛愯处鍙穒d
+    private String childAccountRegionId;//瀛愯处鍙峰尯鍩焛d
+    private String homeId;//鐢电珯id
+    private String homeRegionId;//浣忓畢鍖哄煙id
+    private boolean isRemoteControl;//杩滅▼鎺у埗 (榛樿true)
+    private String nickName;//瀛愯处鍙锋樀绉�
+    private String faceUrl;//鎴愬憳浜鸿劯鍥剧墖,鍥剧墖url鎴栬�呭浘鐗�,base64浼犲浘鐗嘼ase64鏃跺浐瀹氫紶jpg鏍煎紡鐨勫浘鐗�
+
+    private String createPeople;//	鍒涘缓浜篒D
+    private boolean isAllowCreateScene;//鍒涘缓鍦烘櫙
+    private String modifyPeople;//鏈�鍚庝慨鏀逛汉ID
+    private String modifyTime;//鏈�鍚庝慨鏀规椂闂�
+    private String region;//鏈嶅姟鍖哄煙
+
+    private int isDelete;//isDelete	0:鏈垹闄� 1:鍒犻櫎
+
+    private List<String> privileges = new ArrayList<>();//鏉冮檺
+
+    private String childAccountPhone;//鎵嬫満鍙�
+    private String childAccountEmail;//閭
+    private String childAccountRegionUrl;
+    private String memberHeadIcon;
+    private String memberName;
+
+    private  String   userFaceUrl;//浜鸿劯鍥剧墖
+
+    public String getUserFaceUrl() {
+        return userFaceUrl== null ? "" : userFaceUrl;
+    }
+
+    public void setUserFaceUrl(String userFaceUrl) {
+        this.userFaceUrl = userFaceUrl;
+    }
+
+    public String getChildAccountPhone() {
+        return childAccountPhone == null ? "" : childAccountPhone;
+    }
+
+    public void setChildAccountPhone(String childAccountPhone) {
+        this.childAccountPhone = childAccountPhone;
+    }
+
+    public String getChildAccountEmail() {
+        return childAccountEmail == null ? "" : childAccountEmail;
+    }
+
+    public void setChildAccountEmail(String childAccountEmail) {
+        this.childAccountEmail = childAccountEmail;
+    }
+
+    public String getChildAccountRegionUrl() {
+        return childAccountRegionUrl == null ? "" : childAccountRegionUrl;
+    }
+
+    public void setChildAccountRegionUrl(String childAccountRegionUrl) {
+        this.childAccountRegionUrl = childAccountRegionUrl;
+    }
+
+    public String getMemberHeadIcon() {
+        return memberHeadIcon == null ? "" : memberHeadIcon;
+    }
+
+    public void setMemberHeadIcon(String memberHeadIcon) {
+        this.memberHeadIcon = memberHeadIcon;
+    }
+
+    public String getMemberName() {
+        return memberName == null ? "" : memberName;
+    }
+
+    public void setMemberName(String memberName) {
+        this.memberName = memberName;
+    }
+
+    public int getIsDelete() {
+        return isDelete;
+    }
+
+    public void setIsDelete(int isDelete) {
+        this.isDelete = isDelete;
+    }
+
+    public List<String> getPrivileges() {
+        return privileges;
+    }
+
+    public void setPrivileges(List<String> privileges) {
+        this.privileges = privileges;
+    }
+
+    public String getId() {
+        return id == null ? "" : id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getChildAccountId() {
+        return childAccountId == null ? "" : childAccountId;
+    }
+
+    public void setChildAccountId(String childAccountId) {
+        this.childAccountId = childAccountId;
+    }
+
+    public String getChildAccountRegionId() {
+        return childAccountRegionId == null ? "" : childAccountRegionId;
+    }
+
+    public void setChildAccountRegionId(String childAccountRegionId) {
+        this.childAccountRegionId = childAccountRegionId;
+    }
+
+    public String getHomeRegionId() {
+        return homeRegionId == null ? "" : homeRegionId;
+    }
+
+    public void setHomeRegionId(String homeRegionId) {
+        this.homeRegionId = homeRegionId;
+    }
+
+    public boolean isRemoteControl() {
+        return isRemoteControl;
+    }
+
+    public void setRemoteControl(boolean remoteControl) {
+        isRemoteControl = remoteControl;
+    }
+
+    public String getFaceUrl() {
+        return faceUrl == null ? "" : faceUrl;
+    }
+
+    public void setFaceUrl(String faceUrl) {
+        this.faceUrl = faceUrl;
+    }
+
+    public String getCreatePeople() {
+        return createPeople == null ? "" : createPeople;
+    }
+
+    public void setCreatePeople(String createPeople) {
+        this.createPeople = createPeople;
+    }
+
+    public boolean isAllowCreateScene() {
+        return isAllowCreateScene;
+    }
+
+    public void setAllowCreateScene(boolean allowCreateScene) {
+        isAllowCreateScene = allowCreateScene;
+    }
+
+    public String getModifyPeople() {
+        return modifyPeople == null ? "" : modifyPeople;
+    }
+
+    public void setModifyPeople(String modifyPeople) {
+        this.modifyPeople = modifyPeople;
+    }
+
+    public String getModifyTime() {
+        return modifyTime == null ? "" : modifyTime;
+    }
+
+    public void setModifyTime(String modifyTime) {
+        this.modifyTime = modifyTime;
+    }
+
+    public String getRegion() {
+        return region == null ? "" : region;
+    }
+
+    public void setRegion(String region) {
+        this.region = region;
+    }
+
+    public String getAccount() {
+        return TextUtils.isEmpty(getChildAccountPhone()) ? getChildAccountEmail() : getChildAccountPhone();
+    }
+
+
+    public String getChildAccountType() {
+        return childAccountType == null ? "" : childAccountType;
+    }
+
+    public void setChildAccountType(String childAccountType) {
+        this.childAccountType = childAccountType;
+    }
+
+    public String getHomeId() {
+        return homeId == null ? "" : homeId;
+    }
+
+    public void setHomeId(String homeId) {
+        this.homeId = homeId;
+    }
+
+    public boolean isIsRemoteControl() {
+        return isRemoteControl;
+    }
+
+    public void setIsRemoteControl(boolean isRemoteControl) {
+        this.isRemoteControl = isRemoteControl;
+    }
+
+    public String getNickName() {
+        return nickName == null ? "" : nickName;
+    }
+
+    public void setNickName(String nickName) {
+        this.nickName = nickName;
+    }
+}

--
Gitblit v1.8.0