Is it normal/recommended to make interfaces for the entities in an application? If it is should getter/setters be declared in the interface or only business methods?
Interface are for business logic, It's declare the behavior or functionality of your module. POJO's are just objects that contains data and not suppose to do any logic- so not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With