Based on the values passed to to a class, how a query can be build which supports Joins
class EmployeeDto { private Long id; private Department department; pr