How to map class inheritance to relational tables
Single table inheritance
Map all the fields in the graph to a single table.
Class table inheritance
For each class create a table and map the fields.
Concrete table inheritance
For each concrete class, map all the fields plus the inherited fields into the table.
References
- Single, Class and Concrete table inheritance Martin Fowler