增加LoginBody的灵活性

This commit is contained in:
Dftre 2024-05-09 12:56:55 +08:00
parent 97168cb13f
commit 51b9d2e990

View File

@ -1,12 +1,13 @@
package com.ruoyi.common.core.domain.model; package com.ruoyi.common.core.domain.model;
import com.ruoyi.common.core.domain.BaseEntity;
/** /**
* 用户登录对象 * 用户登录对象
* *
* @author ruoyi * @author ruoyi
*/ */
public class LoginBody public class LoginBody extends BaseEntity {
{
/** /**
* 用户名 * 用户名
*/ */
@ -27,43 +28,35 @@ public class LoginBody
*/ */
private String uuid; private String uuid;
public String getUsername() public String getUsername() {
{
return username; return username;
} }
public void setUsername(String username) public void setUsername(String username) {
{
this.username = username; this.username = username;
} }
public String getPassword() public String getPassword() {
{
return password; return password;
} }
public void setPassword(String password) public void setPassword(String password) {
{
this.password = password; this.password = password;
} }
public String getCode() public String getCode() {
{
return code; return code;
} }
public void setCode(String code) public void setCode(String code) {
{
this.code = code; this.code = code;
} }
public String getUuid() public String getUuid() {
{
return uuid; return uuid;
} }
public void setUuid(String uuid) public void setUuid(String uuid) {
{
this.uuid = uuid; this.uuid = uuid;
} }
} }