|
@@ -5,7 +5,6 @@ import java.util.Date;
|
|
|
|
|
|
|
|
import javax.validation.constraints.Max;
|
|
import javax.validation.constraints.Max;
|
|
|
import javax.validation.constraints.Min;
|
|
import javax.validation.constraints.Min;
|
|
|
-import javax.validation.constraints.Pattern;
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
|
|
|
import com.goafanti.common.constant.ErrorConstants;
|
|
import com.goafanti.common.constant.ErrorConstants;
|
|
@@ -122,21 +121,18 @@ public class InputOrganizationIdentity {
|
|
|
private String firstContacts;
|
|
private String firstContacts;
|
|
|
|
|
|
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
- @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
|
|
|
|
|
private String firstMobile;
|
|
private String firstMobile;
|
|
|
|
|
|
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String secondContacts;
|
|
private String secondContacts;
|
|
|
|
|
|
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
- @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
|
|
|
|
|
private String secondMobile;
|
|
private String secondMobile;
|
|
|
|
|
|
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String thirdContacts;
|
|
private String thirdContacts;
|
|
|
|
|
|
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
- @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
|
|
|
|
|
private String thirdMobile;
|
|
private String thirdMobile;
|
|
|
|
|
|
|
|
@Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
@Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|