Photo-curable thermosetting resin composition