|
|
@@ -1,6 +1,5 @@
|
|
|
package com.goafanti.contract.bo;
|
|
|
|
|
|
-
|
|
|
import javax.validation.constraints.Max;
|
|
|
import javax.validation.constraints.Min;
|
|
|
import javax.validation.constraints.Size;
|
|
|
@@ -10,22 +9,20 @@ import com.goafanti.common.constant.ErrorConstants;
|
|
|
public class InputSaveContract {
|
|
|
@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String id;
|
|
|
-
|
|
|
+
|
|
|
@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String uid;
|
|
|
-
|
|
|
+
|
|
|
@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
- private Integer contacts;
|
|
|
+ private Integer contacts;
|
|
|
|
|
|
private Integer serialNumber;
|
|
|
|
|
|
-
|
|
|
@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer type;
|
|
|
|
|
|
-
|
|
|
@Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String depict;
|
|
|
|
|
|
@@ -37,28 +34,24 @@ public class InputSaveContract {
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer patentNum;
|
|
|
|
|
|
-
|
|
|
@Max(value = 99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer copyrightNum;
|
|
|
|
|
|
-
|
|
|
@Max(value = 9999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer cognizanceYear;
|
|
|
|
|
|
-
|
|
|
@Max(value = 99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer techProjectNum;
|
|
|
-
|
|
|
- @Size(min = 0, max = 8, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
- private String previousFee;
|
|
|
|
|
|
+ @Size(min = 0, max = 8, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ private String previousFee;
|
|
|
|
|
|
@Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
private String comment;
|
|
|
-
|
|
|
+
|
|
|
public String getPreviousFee() {
|
|
|
return previousFee;
|
|
|
}
|
|
|
@@ -82,7 +75,6 @@ public class InputSaveContract {
|
|
|
public void setUid(String uid) {
|
|
|
this.uid = uid;
|
|
|
}
|
|
|
-
|
|
|
|
|
|
public Integer getContacts() {
|
|
|
return contacts;
|
|
|
@@ -108,7 +100,6 @@ public class InputSaveContract {
|
|
|
this.type = type;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public String getDepict() {
|
|
|
return depict;
|
|
|
}
|
|
|
@@ -165,7 +156,4 @@ public class InputSaveContract {
|
|
|
this.comment = comment;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|