Hi. I have some questions regarding extending entities. I see this is a great feature, but still not sure what’s best approach.
Suppose I have “inventory” module. Here I have InventoryItem, InventoryCategory. I use it as app components. The InventoryItem has property of category (InventoryCategory).
Now suppose if I have another module “purchasing”. And I want to have PurchaseItem, and PurchaseCategory, which extend two previous entities. Now, does it automatically call PurchaseCategory whenever I get purchaseItem.getCategory()? And what best approach should I use on this?
What best approach I should use?