entities and dao classes