Rewrite DAO Interface with Generic Type