parent
25f11e7c3c
commit
5980813f58
@ -0,0 +1,78 @@
|
||||
package au.com.royalpay.payment.manage.application.beans;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* Created by yuan on 2018/5/23.
|
||||
*/
|
||||
public class ClientPreApplyStep1Bean {
|
||||
@NotEmpty(message = "username can't be null")
|
||||
private String username;
|
||||
@NotEmpty(message = "password can't be null")
|
||||
private String password;
|
||||
@NotEmpty(message = "contact_person can't be null")
|
||||
private String contact_person;
|
||||
@NotEmpty(message = "contact_phone can't be null")
|
||||
private String contact_phone;
|
||||
@NotEmpty(message = "contact_email can't be null")
|
||||
private String contact_email;
|
||||
@NotEmpty(message = "phoneCodeKey can't be null")
|
||||
private String phoneCodeKey;
|
||||
|
||||
|
||||
public JSONObject insertObject() {
|
||||
JSONObject res = (JSONObject) JSON.toJSON(this);
|
||||
return res;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public String getContact_person() {
|
||||
return contact_person;
|
||||
}
|
||||
|
||||
public void setContact_person(String contact_person) {
|
||||
this.contact_person = contact_person;
|
||||
}
|
||||
|
||||
public String getContact_phone() {
|
||||
return contact_phone;
|
||||
}
|
||||
|
||||
public void setContact_phone(String contact_phone) {
|
||||
this.contact_phone = contact_phone;
|
||||
}
|
||||
|
||||
public String getContact_email() {
|
||||
return contact_email;
|
||||
}
|
||||
|
||||
public void setContact_email(String contact_email) {
|
||||
this.contact_email = contact_email;
|
||||
}
|
||||
|
||||
public String getPhoneCodeKey() {
|
||||
return phoneCodeKey;
|
||||
}
|
||||
|
||||
public void setPhoneCodeKey(String phoneCodeKey) {
|
||||
this.phoneCodeKey = phoneCodeKey;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue