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