We would like to know for what reason we must create an interface for our custom entities when we extends a broadleaf entity.
In your documention there is this example :
Code: Select all
public class HotSauceImpl extends ProductImpl implements HotSauce
So we have create an interface for each of our custom entities that extends a BLC entity but all of these interfaces are empty and so we wonder where they are useful ?
We tried to extend a BLC entity without create an interface for our custom entity and it works too :
Code: Select all
public class HotSauceImpl extends ProductImpl
Thanks for your answer