插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

45 lines
931 B

package com.fanruan.api.decision.middle;
/**
* @author richie
* @version 10.0
* Created by richie on 2019-09-19
*/
public class ReadOnlyUser {
/**
* 非空项,无默认值
*/
private String userName = null;
/**
* 非空项,无默认值
*/
private String password = null;
/**
* 姓名
*/
private String realName = null;
public static ReadOnlyUser build(String userName, String password, String realName) {
return new ReadOnlyUser(userName, password, realName);
}
private ReadOnlyUser(String userName, String password, String realName) {
this.userName = userName;
this.password = password;
this.realName = realName;
}
public String getUserName() {
return userName;
}
public String getPassword() {
return password;
}
public String getRealName() {
return realName;
}
}