|
|
|
@ -3,32 +3,53 @@ 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 ClientPreApplyBean {
|
|
|
|
|
@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 = "company_name can't be null")
|
|
|
|
|
private String company_name;
|
|
|
|
|
@NotEmpty(message = "company_phone can't be null")
|
|
|
|
|
private String company_phone;
|
|
|
|
|
@NotEmpty(message = "abn can't be null")
|
|
|
|
|
private String abn;
|
|
|
|
|
@NotEmpty(message = "short_name can't be null")
|
|
|
|
|
private String short_name;
|
|
|
|
|
@NotEmpty(message = "address can't be null")
|
|
|
|
|
private String address;
|
|
|
|
|
@NotEmpty(message = "suburb can't be null")
|
|
|
|
|
private String suburb;
|
|
|
|
|
@NotEmpty(message = "state can't be null")
|
|
|
|
|
private String state;
|
|
|
|
|
@NotEmpty(message = "postcode can't be null")
|
|
|
|
|
private String postcode;
|
|
|
|
|
@NotEmpty(message = "industry can't be null")
|
|
|
|
|
private String industry;
|
|
|
|
|
|
|
|
|
|
@NotEmpty(message = "bank_no can't be null")
|
|
|
|
|
private String bank_no;
|
|
|
|
|
@NotEmpty(message = "bank_name can't be null")
|
|
|
|
|
private String bank_name;
|
|
|
|
|
@NotEmpty(message = "bsb_no can't be null")
|
|
|
|
|
private String bsb_no;
|
|
|
|
|
|
|
|
|
|
@NotEmpty(message = "clean_days can't be null")
|
|
|
|
|
private String clean_days;
|
|
|
|
|
@NotEmpty(message = "codeKey can't be null")
|
|
|
|
|
private String codeKey;
|
|
|
|
|
|
|
|
|
|
@NotEmpty(message = "agree can't be null")
|
|
|
|
|
private boolean agree;
|
|
|
|
|
|
|
|
|
|
public JSONObject insertObject() {
|
|
|
|
|