|
|
@@ -15,13 +15,13 @@ public class AchievementDemandListBo {
|
|
|
|
|
|
private Integer serialNumber;
|
|
|
|
|
|
- private String dataCategory;
|
|
|
+ private Integer dataCategory;
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
private String keyword;
|
|
|
|
|
|
- private String category;
|
|
|
+ private Integer category;
|
|
|
|
|
|
private Integer ownerType;
|
|
|
|
|
|
@@ -46,12 +46,13 @@ public class AchievementDemandListBo {
|
|
|
public void setSerialNumber(Integer serialNumber) {
|
|
|
this.serialNumber = serialNumber;
|
|
|
}
|
|
|
-
|
|
|
- public String getDataCategory() {
|
|
|
+
|
|
|
+ @JsonFormat(shape = Shape.STRING)
|
|
|
+ public Integer getDataCategory() {
|
|
|
return dataCategory;
|
|
|
}
|
|
|
|
|
|
- public void setDataCategory(String dataCategory) {
|
|
|
+ public void setDataCategory(Integer dataCategory) {
|
|
|
this.dataCategory = dataCategory;
|
|
|
}
|
|
|
|
|
|
@@ -71,14 +72,15 @@ public class AchievementDemandListBo {
|
|
|
this.keyword = keyword;
|
|
|
}
|
|
|
|
|
|
- public String getCategory() {
|
|
|
+ @JsonFormat(shape = Shape.STRING)
|
|
|
+ public Integer getCategory() {
|
|
|
return category;
|
|
|
}
|
|
|
|
|
|
- public void setCategory(String category) {
|
|
|
+ public void setCategory(Integer category) {
|
|
|
this.category = category;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@JsonFormat(shape = Shape.STRING)
|
|
|
public Integer getOwnerType() {
|
|
|
return ownerType;
|