DepartmentDTO
Atualizado
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class DepartmentDTO {
private UUID id;
private String name;
public DepartmentDTO(Department department) {
this.id = department.getId();
this.name = department.getName();
}
}
Atualizado