I have a model BillService with basic set of fields. Next I want to create two models BillItem and BillGroup, which are the heirs of this and have the additional fields (each has a unique set). I also want to be able to get through the base class all instances of heirs and to check the class of concrete instance.
I can't imagine how to implement this. I tried to google it but nothing succeeded. I read about STI. That's what I need?