add toString() to BookDTO
This commit is contained in:
parent
51bcee5d7d
commit
8881950e6d
@ -23,4 +23,9 @@ public class BookDTO {
|
||||
return price;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "BookDTO [title=" + title + ", price=" + price + "]";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user