add repository and spring annotations for domain classes