I have EmployeeDto as a Object , which is not sync with database . I want to put EmployeeDto inside redis cache .I have gone through example where I can see database entity