Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
322afa04
Commit
322afa04
authored
Jun 14, 2020
by
macro
Browse files
Update UmsAdminLoginParam.java
parent
0dfa1f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/dto/UmsAdminLoginParam.java
View file @
322afa04
package
com.macro.mall.dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
javax.validation.constraints.NotEmpty
;
...
...
@@ -8,6 +10,8 @@ import javax.validation.constraints.NotEmpty;
* 用户登录参数
* Created by macro on 2018/4/26.
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
UmsAdminLoginParam
{
@ApiModelProperty
(
value
=
"用户名"
,
required
=
true
)
@NotEmpty
(
message
=
"用户名不能为空"
)
...
...
@@ -15,20 +19,4 @@ public class UmsAdminLoginParam {
@ApiModelProperty
(
value
=
"密码"
,
required
=
true
)
@NotEmpty
(
message
=
"密码不能为空"
)
private
String
password
;
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
}
public
String
getPassword
()
{
return
password
;
}
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment