shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
package com.iplatform.model.to;
 
import com.walker.web.OrgType;
import com.walker.web.UserType;
 
import java.io.Serializable;
 
/**
 * 用户机构远程调用定义传输对象,serviceApi接口使用。
 * @author 时克英
 * @date 2023-06-06
 */
public class UserAndDeptTo implements Serializable {
 
    @Override
    public String toString(){
        return new StringBuilder("[deptName=").append(this.deptName)
                .append(", parentId=").append(this.parentId)
                .append(", orgId=").append(this.orgId)
                .append(", menuType=").append(this.menuType)
                .append(", userName=").append(this.userName)
                .append(", nickName=").append(this.nickName)
                .append(", userType=").append(this.userType)
                .append(", type=").append(this.type)
                .append("]").toString();
    }
 
    public String getDeptName() {
        return deptName;
    }
 
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
 
    public long getParentId() {
        return parentId;
    }
 
    public void setParentId(long parentId) {
        this.parentId = parentId;
    }
 
    public long getOrgId() {
        return orgId;
    }
 
    public void setOrgId(long orgId) {
        this.orgId = orgId;
    }
 
    public int getOrgType() {
        return orgType;
    }
 
    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }
 
    public int getMenuType() {
        return menuType;
    }
 
    public void setMenuType(int menuType) {
        this.menuType = menuType;
    }
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    public String getNickName() {
        return nickName;
    }
 
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
 
    public int getUserType() {
        return userType;
    }
 
    public void setUserType(int userType) {
        this.userType = userType;
    }
 
    public String getSex() {
        return sex;
    }
 
    public void setSex(String sex) {
        this.sex = sex;
    }
 
    public String getAvatar() {
        return avatar;
    }
 
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public String getMail() {
        return mail;
    }
 
    public void setMail(String mail) {
        this.mail = mail;
    }
 
    public String getCreateId() {
        return createId;
    }
 
    public void setCreateId(String createId) {
        this.createId = createId;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
    private String password;
    private String createId;
    private String deptName;
    private long parentId;
    private long orgId = 0;
    private int orgType = OrgType.TYPE_ORG;
    private int menuType = 0;
 
    private String userName;    // 登录名
    private String nickName;    // 昵称(姓名)
    private int userType = UserType.TYPE_ADMIN;
    private String sex = "0";
    private String avatar;
    private int type = UserType.TYPE_MERCHANT_ADMIN;
 
    private String phone;
    private String mail;
}