Skip to content

Commit

Permalink
remove password field from studentsShow endpoint (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibarsin authored Jan 25, 2017
1 parent 34c35a5 commit 5ec1c79
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,19 @@ public class StudentShowDTO {
private LocalDate birthday;
private int docket;
private String email;
private String password;

public StudentShowDTO() {

}

public StudentShowDTO(Integer dni, String firstName, String lastName, User.Genre genre, LocalDate birthday, int docket, String email, String password) {
public StudentShowDTO(Integer dni, String firstName, String lastName, User.Genre genre, LocalDate birthday, int docket, String email) {
this.dni = dni;
this.firstName = firstName;
this.lastName = lastName;
this.genre = genre;
this.birthday = birthday;
this.docket = docket;
this.email = email;
this.password = password;
}

public Integer getDni() {
Expand Down Expand Up @@ -85,12 +83,4 @@ public String getEmail() {
public void setEmail(String email) {
this.email = email;
}

public String getPassword() {
return password;
}

public void setPassword(String password) {
this.password = password;
}
}

0 comments on commit 5ec1c79

Please sign in to comment.