mac
2023-11-03 9e875b253959eff8f6af567308ad804fe69d0a62
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
package com.hdl.linkpm.sdk.user.bean;
 
import androidx.annotation.NonNull;
 
import java.io.Serializable;
 
/**
 * Created by jlchen on 12/3/21.
 */
public class HDLUserInfoBean implements Serializable {
    /// 用户唯一ID
    private String userId;
    /// 登录帐号
    private String account;
    /// 用户类型
    private String userType;
    /// 用户名字
    private String name;
    /// 用户手机号
    private String userPhone;
    /// 用户邮箱
    private String userEmail;
    ///企业单位id
    private String companyId;
    /// headerPrefix
    private String headerPrefix;
 
 
    public HDLUserInfoBean() {
 
    }
    public HDLUserInfoBean(HDLLoginBean loginBean) {
        this.userId = loginBean.getUserId();
        this.account = loginBean.getAccount();
        this.userType = loginBean.getUserType();
        this.name = loginBean.getName();
        this.userPhone = loginBean.getUserPhone();
        this.userEmail = loginBean.getUserEmail();
        this.companyId = loginBean.getCompanyId();
        this.headerPrefix = loginBean.getHeaderPrefix();
    }
 
    @NonNull
    public String getUserId() {
        return userId == null ? "" : userId;
    }
 
    public void setUserId(@NonNull String userId) {
        this.userId = userId;
    }
 
    @NonNull
    public String getAccount() {
        return account == null ? "" : account;
    }
 
    public void setAccount(@NonNull String account) {
        this.account = account;
    }
 
    @NonNull
    public String getUserType() {
        return userType == null ? "" : userType;
    }
 
    public void setUserType(@NonNull String userType) {
        this.userType = userType;
    }
 
    @NonNull
    public String getName() {
        return name == null ? "" : name;
    }
 
    public void setName(@NonNull String name) {
        this.name = name;
    }
 
    @NonNull
    public String getUserPhone() {
        return userPhone == null ? "" : userPhone;
    }
 
    public void setUserPhone(@NonNull String userPhone) {
        this.userPhone = userPhone;
    }
 
    @NonNull
    public String getUserEmail() {
        return userEmail == null ? "" : userEmail;
    }
 
    public void setUserEmail(@NonNull String userEmail) {
        this.userEmail = userEmail;
    }
 
    @NonNull
    public String getCompanyId() {
        return companyId == null ? "" : companyId;
    }
 
    public void setCompanyId(@NonNull String companyId) {
        this.companyId = companyId;
    }
 
    @NonNull
    public String getHeaderPrefix() {
        return headerPrefix == null ? "" : headerPrefix;
    }
 
    public void setHeaderPrefix(@NonNull String headerPrefix) {
        this.headerPrefix = headerPrefix;
    }
}