Add entities of database
Missing inheritance