albertshaw 8 years ago
parent
commit
f9ca4e0076

+ 1 - 1
src/main/java/com/goafanti/cognizance/bo/InputApplyCognizance.java

@@ -12,7 +12,7 @@ public class InputApplyCognizance {
 	private String uid;
 	
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer contacts;
 	
 	@Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")

+ 1 - 1
src/main/java/com/goafanti/cognizance/bo/InputOrgCognizance.java

@@ -14,7 +14,7 @@ public class InputOrgCognizance {
 	private String	uid;
 
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer	contacts;
 
 	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")

+ 1 - 1
src/main/java/com/goafanti/contract/bo/InputContract.java

@@ -47,7 +47,7 @@ public class InputContract {
 	private Integer status;
 	
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer contacts;
 
 	public String getUid() {

+ 1 - 1
src/main/java/com/goafanti/copyright/bo/InputCopyright.java

@@ -17,7 +17,7 @@ public class InputCopyright {
 	private String	principal;
 
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer	contact;
 
 	@Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")

+ 1 - 1
src/main/java/com/goafanti/demand/bo/InputDemand.java

@@ -106,7 +106,7 @@ public class InputDemand {
 	private String		employerContactsMailbox;
 
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer		contacts;
 
 	@Max(value = 2, message = "{" + ErrorConstants.PARAM_ERROR + "}")

+ 1 - 1
src/main/java/com/goafanti/techproject/bo/InputTechProject.java

@@ -16,7 +16,7 @@ public class InputTechProject {
 	private String		uid;
 
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer		contacts;
 
 	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")

+ 1 - 1
src/main/java/com/goafanti/user/bo/InputOrganizationIdentity.java

@@ -139,7 +139,7 @@ public class InputOrganizationIdentity {
 	private Date		issuingDate;
 
 	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
-	@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
+	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
 	private Integer		cogContacts;
 
 	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")