Skip to content

Commit

Permalink
Merge pull request #5 from cristianonicolai/data-index
Browse files Browse the repository at this point in the history
Sync VisaApplication model for v03
  • Loading branch information
cristianonicolai authored Sep 9, 2019
2 parents cb35866 + 7951171 commit ed48ab8
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class VisaApplication {
private int duration;
private String passportNumber;
private String nationality;

private boolean approved;

public VisaApplication() {

Expand Down Expand Up @@ -80,10 +82,19 @@ public void setNationality(String nationality) {
this.nationality = nationality;
}

public boolean isApproved() {
return approved;
}

public void setApproved(boolean approved) {
this.approved = approved;
}

@Override
public String toString() {
return "VisaApplication [firstName=" + firstName + ", lastName=" + lastName + ", city=" + city + ", country="
+ country + ", duration=" + duration + ", passportNumber=" + passportNumber + "]";
+ country + ", duration=" + duration + ", passportNumber=" + passportNumber + ", approved=" + approved
+ "]";
}

}

0 comments on commit ed48ab8

Please sign in to comment.