Here is the bare minimum code to show you the problem I am having. I have tried several different combinations of creating the Photo Entity class below:
impor