Fill DTO fields including custom enum types using projection Criteria Query API I have the following DTO: