Skip to content

Commit

Permalink
vinh/fix convert entity to dto to get email
Browse files Browse the repository at this point in the history
  • Loading branch information
AnataAria committed Nov 7, 2023
1 parent 582a445 commit 29dfcb1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public CustomerDto convertEntityToDto(Customer data) {
.fullName(data.getFullName())
.birthDate(data.getBirthDate())
.gender(data.getGender())
.email(data.getAccount().getEmail())
.build();
}
}

0 comments on commit 29dfcb1

Please sign in to comment.