toDetailsModel