Update LoginBean.java

This commit is contained in:
Redkale
2024-05-27 11:48:21 +08:00
committed by GitHub
parent dbc5ff378a
commit f71e824539

View File

@@ -2,34 +2,34 @@
* To change this license header, choose License Headers in Project Properties. * To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package org.redkale.test.rest; package org.redkale.test.rest;
import org.redkale.convert.json.JsonFactory; import org.redkale.convert.json.JsonFactory;
/** @author zhangjx */ /** @author zhangjx */
public class LoginBean { public class LoginBean {
private String account = ""; private String account = "";
private String password = ""; private String password = "";
public String getAccount() { public String getAccount() {
return account; return account;
} }
public void setAccount(String account) { public void setAccount(String account) {
this.account = account; this.account = account;
} }
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;
} }
@Override @Override
public String toString() { public String toString() {
return JsonFactory.root().getConvert().convertTo(this); return JsonFactory.root().getConvert().convertTo(this);