wjc
2025-03-26 68db344081c103c94832b8d0a06be6c6888d66e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
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;//子账号id
    private String childAccountRegionId;//子账号区域id
    private String homeId;//电站id
    private String homeRegionId;//住宅区域id
    private boolean isRemoteControl;//远程控制 (默认true)
    private String nickName;//子账号昵称
    private String faceUrl;//成员人脸图片,图片url或者图片,base64传图片base64时固定传jpg格式的图片
 
    private String createPeople;//    创建人ID
    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;
    }
}