Add student detail dto function