I just started working with MongoDB and I just can\'t find the answer to my question.
I have two classes:
@Data @Document(collection = "some_class