Your code is almost correct and you are going in right way. But you can follow given steps to completely understand mapping from Entity to DTO using MapStruct.
-> Modify below line with your actual line (Just modify given line only in your interface).
@Mapper(componentModel = "spring")