Entity class done with all relations