add toString() to BookDTO

This commit is contained in:
Sabiq Ihab 2017-06-21 23:33:13 +00:00
parent 51bcee5d7d
commit 8881950e6d

View File

@ -23,4 +23,9 @@ public class BookDTO {
return price;
}
@Override
public String toString() {
return "BookDTO [title=" + title + ", price=" + price + "]";
}
}