Skip to content

Commit

Permalink
feat(cb2-9976): added new keys to model
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-cs committed Feb 20, 2024
1 parent 8ba6845 commit b79acee
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class IvaFailCertificateData {
private String vehicleTrailerNrNo;
@JsonProperty("testCategoryClass")
private String testCategoryClass;
@JsonProperty("vin")
private String vin;
@JsonProperty("testCategoryBasicNormal")
private String testCategoryBasicNormal;
@JsonProperty("make")
Expand All @@ -25,6 +27,8 @@ public class IvaFailCertificateData {
private String reapplicationDate;
@JsonProperty("station")
private String station;
@JsonProperty("testerName")
private String testerName;
@JsonProperty("additionalDefects")
private AdditionalDefect[] additionalDefects;
@JsonProperty("requiredStandards")
Expand Down Expand Up @@ -54,6 +58,14 @@ public void setTestCategoryClass(String testCategoryClass) {
this.testCategoryClass = testCategoryClass;
}

public String getVin() {
return vin;
}

public void setVin(String vin) {
this.vin = vin;
}

public String getTestCategoryBasicNormal() {
return testCategoryBasicNormal;
}
Expand Down Expand Up @@ -110,6 +122,14 @@ public void setStation(String station) {
this.station = station;
}

public String getTesterName() {
return testerName;
}

public void setTesterName(String testerName) {
this.testerName = testerName;
}

public AdditionalDefect[] getAdditionalDefects() {
return additionalDefects;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/views/CommercialVehicles/IVA30.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</tr>
<tr class="table-row-cell">
<td class="table-row-cell"><b>Make/Model: </b> {{ivaData.make}}/{{ivaData.model}}</td>
<td class="table-row-cell"><b>VIN/Chassis No: </b> <!--Put data here --> </td>
<td class="table-row-cell"><b>VIN/Chassis No: </b> {{ivaData.vin}} </td>
</tr>
<tr class="table-row-cell">
<td class="table-row-cell"> <b>Body Type: </b>{{ivaData.bodyType}} </td>
Expand Down Expand Up @@ -114,7 +114,7 @@
<td class="table-row-cell"> <b>Date: </b> {{ivaData.date}} </td>
</tr>
<tr>
<td class="table-row-cell"> <b>Name: </b> <!--Put data here --> </td>
<td class="table-row-cell"> <b>Name: </b> {{ivaData.testerName}} </td>
<td class="table-row-cell"> <b>Station: </b> {{ivaData.station}} </td>
</tr>
<tr>
Expand Down

0 comments on commit b79acee

Please sign in to comment.