define Photo model.