IotUser.java
3.4 KB
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
package com.ruoyi.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 产品对象 iot_user
*
* @author 钟来
* @date 2022-08-26
*/
@ApiModel("产品")
public class IotUser extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 创建时间 */
@ApiModelProperty("创建时间")
private Integer create_time;
/** 加密类型 */
@ApiModelProperty("加密类型")
private String encryption_type;
/** 主键id */
@ApiModelProperty("主键id")
private Integer id;
/** 开启加密(0不开启,1开启) */
@ApiModelProperty("开启加密(0不开启,1开启)")
private Integer open_encryption;
/** 密码 */
@ApiModelProperty("密码")
private String password;
/** 角色id */
@ApiModelProperty("角色id")
private Integer role_id;
/** 盐 */
@ApiModelProperty("盐")
private String salt;
/** 是否使用(0否,1是) */
@ApiModelProperty("是否使用(0否,1是)")
private Integer used;
/** 用户名 */
@ApiModelProperty("用户名")
private String username;
public void setCreate_time(Integer create_time)
{
this.create_time = create_time;
}
public Integer getCreate_time()
{
return create_time;
}
public void setEncryption_type(String encryption_type)
{
this.encryption_type = encryption_type;
}
public String getEncryption_type()
{
return encryption_type;
}
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setOpen_encryption(Integer open_encryption)
{
this.open_encryption = open_encryption;
}
public Integer getOpen_encryption()
{
return open_encryption;
}
public void setPassword(String password)
{
this.password = password;
}
public String getPassword()
{
return password;
}
public void setRole_id(Integer role_id)
{
this.role_id = role_id;
}
public Integer getRole_id()
{
return role_id;
}
public void setSalt(String salt)
{
this.salt = salt;
}
public String getSalt()
{
return salt;
}
public void setUsed(Integer used)
{
this.used = used;
}
public Integer getUsed()
{
return used;
}
public void setUsername(String username)
{
this.username = username;
}
public String getUsername()
{
return username;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("create_time", getCreate_time())
.append("encryption_type", getEncryption_type())
.append("id", getId())
.append("open_encryption", getOpen_encryption())
.append("password", getPassword())
.append("role_id", getRole_id())
.append("salt", getSalt())
.append("used", getUsed())
.append("username", getUsername())
.toString();
}
}