@JsonView Annotation for DTO’s

DTOs (Data Transfer Objects) are used to transfer data between different layers of an application, sending the information which is only…