add attribute RepositoryClass as annotation