implement custom getters for PhotoRecord class