Single-table inheritance example is described here: Mapping | TMS Aurelius documentation.
What you can do is simply have two different classes (TPessoa
and TPessoaMin
), map them individually, and set them in different models. Then use one model or the other depending on the class you want to use.
Why?