add toString() to BookDTO

This commit is contained in:
Sabiq Ihab
2017-06-30 21:26:02 +00:00
parent 51bcee5d7d
commit 8881950e6d
@@ -23,4 +23,9 @@ public class BookDTO {
return price; return price;
} }
@Override
public String toString() {
return "BookDTO [title=" + title + ", price=" + price + "]";
}
} }