one dao for multiple classes