How it should be designed a book object in the Amazon website?
Should it have a logic?
if I were the architect of the system I wouldn’t have put any logic in that book object so it should be just a container and below are my reasons
The clean code says that one class should be as short as possible with just one responsibility. the less [...]