|
|
@ -3,32 +3,53 @@ package au.com.royalpay.payment.manage.application.beans;
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.hibernate.validator.constraints.NotEmpty;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Created by yuan on 2018/5/23.
|
|
|
|
* Created by yuan on 2018/5/23.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public class ClientPreApplyBean {
|
|
|
|
public class ClientPreApplyBean {
|
|
|
|
|
|
|
|
@NotEmpty(message = "username can't be null")
|
|
|
|
private String username;
|
|
|
|
private String username;
|
|
|
|
|
|
|
|
@NotEmpty(message = "password can't be null")
|
|
|
|
private String password;
|
|
|
|
private String password;
|
|
|
|
|
|
|
|
@NotEmpty(message = "contact_person can't be null")
|
|
|
|
private String contact_person;
|
|
|
|
private String contact_person;
|
|
|
|
|
|
|
|
@NotEmpty(message = "contact_phone can't be null")
|
|
|
|
private String contact_phone;
|
|
|
|
private String contact_phone;
|
|
|
|
|
|
|
|
@NotEmpty(message = "contact_email can't be null")
|
|
|
|
private String contact_email;
|
|
|
|
private String contact_email;
|
|
|
|
|
|
|
|
@NotEmpty(message = "company_name can't be null")
|
|
|
|
private String company_name;
|
|
|
|
private String company_name;
|
|
|
|
|
|
|
|
@NotEmpty(message = "company_phone can't be null")
|
|
|
|
private String company_phone;
|
|
|
|
private String company_phone;
|
|
|
|
|
|
|
|
@NotEmpty(message = "abn can't be null")
|
|
|
|
private String abn;
|
|
|
|
private String abn;
|
|
|
|
|
|
|
|
@NotEmpty(message = "short_name can't be null")
|
|
|
|
private String short_name;
|
|
|
|
private String short_name;
|
|
|
|
|
|
|
|
@NotEmpty(message = "address can't be null")
|
|
|
|
private String address;
|
|
|
|
private String address;
|
|
|
|
|
|
|
|
@NotEmpty(message = "suburb can't be null")
|
|
|
|
private String suburb;
|
|
|
|
private String suburb;
|
|
|
|
|
|
|
|
@NotEmpty(message = "state can't be null")
|
|
|
|
private String state;
|
|
|
|
private String state;
|
|
|
|
|
|
|
|
@NotEmpty(message = "postcode can't be null")
|
|
|
|
private String postcode;
|
|
|
|
private String postcode;
|
|
|
|
|
|
|
|
@NotEmpty(message = "industry can't be null")
|
|
|
|
private String industry;
|
|
|
|
private String industry;
|
|
|
|
|
|
|
|
@NotEmpty(message = "bank_no can't be null")
|
|
|
|
private String bank_no;
|
|
|
|
private String bank_no;
|
|
|
|
|
|
|
|
@NotEmpty(message = "bank_name can't be null")
|
|
|
|
private String bank_name;
|
|
|
|
private String bank_name;
|
|
|
|
|
|
|
|
@NotEmpty(message = "bsb_no can't be null")
|
|
|
|
private String bsb_no;
|
|
|
|
private String bsb_no;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@NotEmpty(message = "clean_days can't be null")
|
|
|
|
private String clean_days;
|
|
|
|
private String clean_days;
|
|
|
|
|
|
|
|
@NotEmpty(message = "codeKey can't be null")
|
|
|
|
private String codeKey;
|
|
|
|
private String codeKey;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@NotEmpty(message = "agree can't be null")
|
|
|
|
private boolean agree;
|
|
|
|
private boolean agree;
|
|
|
|
|
|
|
|
|
|
|
|
public JSONObject insertObject() {
|
|
|
|
public JSONObject insertObject() {
|
|
|
|