|
@@ -12,9 +12,9 @@ public class EvaluationAgencyResource {
|
|
|
private Long id;
|
|
|
private Long evaluationAgencyId;
|
|
|
private String type;
|
|
|
- private int count;
|
|
|
- private int freeCount;
|
|
|
- private String description;
|
|
|
+ private String name;
|
|
|
+ private int totalNum;
|
|
|
+ private int availableNum;
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
@@ -22,17 +22,17 @@ public class EvaluationAgencyResource {
|
|
|
"id=" + id +
|
|
|
", evaluationAgencyId=" + evaluationAgencyId +
|
|
|
", type='" + type + '\'' +
|
|
|
- ", count=" + count +
|
|
|
- ", freeCount=" + freeCount +
|
|
|
- ", description='" + description + '\'' +
|
|
|
+ ", name='" + name + '\'' +
|
|
|
+ ", totalNum=" + totalNum +
|
|
|
+ ", availableNum=" + availableNum +
|
|
|
'}';
|
|
|
}
|
|
|
|
|
|
public EvaluationAgencyResource updateEvaluationAgencyResource(String[] resource){
|
|
|
this.type = resource[0];
|
|
|
- this.count = Integer.valueOf(resource[1]);
|
|
|
- this.freeCount = Integer.valueOf(resource[2]);
|
|
|
- this.description = resource[3];
|
|
|
+ this.name = resource[1];
|
|
|
+ this.totalNum = Integer.valueOf(resource[2]);
|
|
|
+ this.availableNum = Integer.valueOf(resource[3]);
|
|
|
return this;
|
|
|
}
|
|
|
}
|